OS X Sublime Text3 to use zsh shell

I want to create a python file, I get the following error:

/bin/bash: python: command not found

The reason is because I use zsh instead of bash. So how to let Sublime look at /bin/zsh?

+1
source share
2 answers

This indicates that your path is not the right one, and not the one you usually use. In the case of OSX, the path for GUI applications is set using various tools other than terminal programs (which, as you know, are based on your comments in your question above).

, ( ), exec Sublime, , , - , , bash.

PackageResourceViewer, exec.py Default "/bin/bash" to "/bin/zsh" ( , ) .

[EDIT]

, , . , Sublime exec.py , , .

, , , . , exec, , , , .

+4

, , - zsh , bash, . OSX/Mac, โ†’ - > - > pallete. /bin/ bash /bin/zsh, .

{ "args" : {"title": "Terminal (bash)", "cmd": "/bin/zsh -l"}, },

. 3. .

, ! !!

0

Source: https://habr.com/ru/post/1648949/


All Articles