Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zsh is not set to standard shell #239

Open
andygrunwald opened this issue May 21, 2016 · 5 comments
Open

zsh is not set to standard shell #239

andygrunwald opened this issue May 21, 2016 · 5 comments

Comments

@andygrunwald
Copy link
Contributor

If script/bootstrap is executed, zsh is not set as a standard shell.

chsh -s $(which zsh)

can do the job here

@ricardosierra
Copy link

+1

@jeschkies
Copy link

+1

Is zsh actually a requirement for dotfiles? Some of my scripts assume it is.

@jacobwgillespie
Copy link
Contributor

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.

@jeschkies
Copy link

A warning or even error at the beginning would be nice then.

@jeschkies
Copy link

Okay, the boot script actually runs with bash.

ajdexter pushed a commit to ajdexter/dotfiles that referenced this issue Jan 5, 2019
Fix ls --color when no grc installed on OSX
Adrien-LUDWIG added a commit to Adrien-LUDWIG/my_holman_dotfiles that referenced this issue Apr 19, 2023
Fixes issue holman#239 of holman/dotfiles.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants