README.md: Don't use echo, use printf

This commit is contained in:
Qi Xiao 2016-03-12 15:43:31 +01:00
parent 5f3a81050d
commit 341da451f3

View File

@ -150,7 +150,7 @@ go get github.com/elves/elvish
make -C $GOPATH/src/github.com/elves/elvish stub
for f in ~/.bashrc ~/.zshrc; do
echo -e 'export GOPATH=$HOME/go\nexport PATH=$PATH:$GOPATH/bin' >> $f
printf 'export %s=%s\n' GOPATH '$HOME/go' PATH '$PATH:$GOPATH/bin' >> $f
done
```