oh-my-zsh does not start on mac

前端 未结 5 1918
臣服心动
臣服心动 2021-02-15 13:14

I installed oh-my-zsh as suggested in http://ohmyz.sh/. FYI,

[~]$ zsh --version
zsh 5.0.8 (x86_64-apple-darwin15.0)
[~]$ echo $SHELL
/bin/zsh
[~]$ ls .oh-my-zsh/         


        
相关标签:
5条回答
  • 2021-02-15 13:43

    Run the following in the terminal:

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
    
    0 讨论(0)
  • 2021-02-15 13:45

    Also, I tried to change my default shell to zsh: [~]$ chsh -s /bin/zsh

    try

    chsh -s $zsh
    

    that worked fine for me

    0 讨论(0)
  • 2021-02-15 13:48

    You have to change the default shell to zsh.
    To do so use the following command.

    chsh -s /bin/zsh
    restart your terminal

    I took it from here.
    These were the steps I followed when I installed zsh.
    I hope it will help you as well.

    0 讨论(0)
  • 2021-02-15 13:59

    I had a similar issue but I resolved it by executing the command chsh -s /bin/zsh in the terminal,then navigated to

    Terminal -> Preferences -> General window

    and changed the Shells open with: option to Default login shell while the command (complete path) set to /bin/zsh.This should solve your problem.

    0 讨论(0)
  • 2021-02-15 14:01

    Not only in System Pref>User and Group>...>User profile's shell settings, but also in Mac's terminal>Preference>ChosenProfile>Shell section, I had to change /bin/bash to /bin/zsh. after that, it works! Thank you, @RemyJ!

    0 讨论(0)
提交回复
热议问题