Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: How do I make 5.8 the login shell???



> On Jul 11, 2020, at 1:18 AM, TJ Luoma <luomat@xxxxxxxxx> wrote:
> 
> First, you **must** add /usr/local/bin/zsh to /etc/shells
> 
> You can do this by typing:
> 
> sudo pico /etc/shells
> 
> and then pasting the line in, and then saving the file (control+X and then
> control+Y)
> 
> Second, use `chsh -s` to change your login shell by entering this in
> Terminal:
> 
> chsh -s /usr/local/bin/zsh
> 
> You will be prompted to enter your Mac's login password.

As far as chpass/chsh is concerned, if you already have sudo access
you can just do

	sudo chsh -s /usr/local/bin/zsh $USER

without modifying /etc/shells. Granted, skipping that part might
have other implications that I'm unaware of.

vq



Messages sorted by: Reverse Date, Date, Thread, Author