3
3

More than 5 years have passed since last update.

zsh導入した

Posted at

ubuntu12.04にzsh入れたので備忘録として書く

zshインストール&デフォルトシェル変更

$ sudo apt-get install zsh
$ chsh

tmuxのデフォルトシェルも忘れずに変更

.tmux.conf
set -g default-shell /bin/zsh

再起動したらそこはzshの世界だった。

oh-my-zshとzのインストール

oh-my-zsh

$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
$ cp ~/.zshrc ~/.zshrc.orig
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

z
移動が便利になるらしいので。
というか、これを入れたいがためにzshにした

$ mkdir ~/.zsh
$ cd ~/.zsh
$ git clone git://github.com/rupa/z.git
.zshrc
_Z_CMD=j
source $HOME/.zsh/z/z.sh
precmd() {
    _z --add "$(pwd -P)"
}
3
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3