dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

How to set PATH ? #168

Open chanshunli opened 4 years ago

chanshunli commented 4 years ago

image

chanshunli commented 4 years ago

image

dundalek commented 4 years ago

This was fixed and works in master, I just need to make a release.

Also I would suggest not replacing the path, but prepending to it like:

(source-shell "export PATH=\"/home/me/Downloads/bin:$PATH\"")

Replacing the PATH might be cause for the second issue. Or maybe you are on macOS Catalina?

chanshunli commented 4 years ago

This operation is invalid for me. 截屏2019-12-06下午2 40 08

This is my mac

截屏2019-12-06下午2 43 33