Open andygrunwald opened 8 years ago
+1
+1
Is zsh actually a requirement for dotfiles? Some of my scripts assume it is.
For these dotfiles, it is a requirement, yep.
I think there's an assumption that your shell is already set to zsh externally, as it's not quite as simple as the one chsh
line. For me personally, I install zsh via Homebrew (brew install zsh
) in order to stay up-to-date with the latest versions, and that installs zsh to /usr/local/bin/zsh
. which zsh
would correctly pull up the path, but chsh
would not accept it as a shell because /usr/local/bin/zsh
does not exist as a line in /etc/shells
. So for me, I have to do the following to set up zsh:
$ brew install zsh
$ sudo sh -c 'echo /usr/local/bin/zsh >> /etc/shells' # or just edit the file in Atom or whatever, like I actually do
$ chsh -s $(which zsh)
Other OSs might have a different process / file location / etc. All that to say that might be one of the reasons the actual chsh
isn't in this repo.
A warning or even error at the beginning would be nice then.
Okay, the boot script actually runs with bash.
If
script/bootstrap
is executed, zsh is not set as a standard shell.can do the job here