edc / bass

Make Bash utilities usable in Fish shell
MIT License
2.22k stars 71 forks source link

`export` doesn't work with bass #41

Closed pranaypratyush closed 7 years ago

pranaypratyush commented 7 years ago

What I meant is that export doesn't work when specifying path variables.

edc commented 7 years ago

@pranaypratyush sorry for the late reply. Make sure you quote $PATH if you are to append something to the path. For example, use bass export PATH='$PATH:/usr/binx' instead of bass export PATH=$PATH:/usr/binx. This is because fish will expand $PATH into space-separated items and it becomes invalid command in bash.