I like the configurablity of the ZSH terminial but I cannot seem to make my login default to the ZSH. Also where is the config file for the ZSH interface?

asked 11 May '10, 01:27

The%20Doc's gravatar image

The Doc
accept rate: 0%

To make zsh your default shell, run usermod -s /path/to/zsh [yourusername] or edit your /etc/passwd file by hand

"Commands are then read from $ZDOTDIR/.zshenv. If the shell is a login shell, commands are read from /etc/zsh/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zsh/zshrc and then $ZDOTDIR/.zshrc. Finally, if the shell is a login shell, /etc/zsh/zlogin and $ZDOTDIR/.zlogin are read." --from man zsh


answered 11 May '10, 01:52

someguy's gravatar image

accept rate: 100%

Thank You. The usermod -s command is exactly what I was looking for.

(11 May '10, 18:27) The Doc

If all you have to change is the shell, it might be simpler to use the following

chsh -s /path/to/zsh username

and if you're not sure about the full path to zsh, you can first run it as

chsh -l

in order to obtain a list of valid shells...


answered 12 May '10, 18:15

pmarini's gravatar image

accept rate: 28%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 11 May '10, 01:27

Seen: 2,645 times

Last updated: 12 May '10, 18:15

powered by OSQA