zshrc: Make minimal-shellrc printf-free
authorFrank Terbeck <ft@bewatermyfriend.org>
Wed, 10 Mar 2010 23:48:44 +0000 (00:48 +0100)
committerFrank Terbeck <ft@bewatermyfriend.org>
Wed, 10 Mar 2010 23:48:44 +0000 (00:48 +0100)
commit2464dac5c121307ce71877332d7a7b19fe653b95
treebd3364a943c821ed71b761f01ffd9ffd2576b942
parent00085f1df9b9da86d01105627f7c42a0669b1e0b
zshrc: Make minimal-shellrc printf-free

One of the major reasons for `minimal-shell()' is to be able to use it
without /usr being mounted. But some OS vendors think it's smart to put
`printf' into /usr/bin - sed, of course happily lives in /bin. Debian
happens to think that's funny, too.

mksh doesn't make `printf' a builtin because it doesn't want to link
libm in (well, you can hack it in - but that's a discouraged non-
default). This replaces "printf '%s' foo' with "print -r -- foo", which
should resolve the issue for us nicely.
etc/minimal-shellrc