Ubuntuにzsh
仕事の先輩にzshをすすめられ、.zshrcとか.zshenvをもらって会社のシェルを変更した。
自宅のUbuntuのシェルも変更してみた。
以下手順メモ。
まずいつもの通りaptitudeでインストール。楽すぎる。
$ sudo aptitude install zsh
次にchshでシェル変更。
$ which zsh
/usr/bin/zsh
$ chsh -s /usr/bin/zsh
で、初回は以下のような初期設定ウィザードが走ります。既に.zshrcとかあるのでいらないのだけれど、まだ.zshrc入れていなかったので。とりあえず適当に(0)でも入力して終了。
This is the Z Shell configuration function for new users, zsh-newuser-install. You are seeing this message because you have no zsh startup files (the files .zshenv, .zprofile, .zshrc, .zlogin in the directory ~). This function can help you with a few settings that should make your use of the shell easier. You can: (q) Quit and do nothing. The function will be run again next time. (0) Exit, creating the file ~/.zshrc containing just a comment. That will prevent this function being run again. (1) Continue to the main menu. --- Type one of the keys in parentheses ---