mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-01 00:33:05 +08:00
README.md: Don't use echo, use printf
This commit is contained in:
parent
5f3a81050d
commit
341da451f3
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user