How to make zsh run as a login shell on Mac OS X (in iTerm)?

前端 未结 6 2409
闹比i
闹比i 2020-12-22 16:23

When zsh is set as a login shell on Mac OS X, when it is started by iTerm, zsh doesn\'t consider that it\'s being run as a login shell, although it\'s started as ‘-zsh’ (‘-’

6条回答
  •  情话喂你
    2020-12-22 16:42

    Go to the Users & Groups pane of the System Preferences -> Select the User -> Click the lock to make changes (bottom left corner) -> right click the current user select Advanced options... -> Select the Login Shell: /bin/zsh and OK

提交回复
热议问题