zsh

autojump-zsh

zsh

GitHub - wting/autojump: A cd command that learns - easily navigate directories from the command line zsh使いなら効率改善のため知っておきたいAUTOJUMP - Glide Note % zsh --version zsh 4.3.12 (i386-apple-darwin11.2.0) インストール % git clon…

各設定ファイル読み込み順

zsh

ログインシェル ~/.zshenv ~/.zprofile2 件 ~/.zshrc ~/.zlogin インタラクティブシェル ~/.zshenv ~/.zshrc シェルスクリプト ~/.zshenv

256 colors

zsh

% for i in {0..255}; do echo -e "\e[38;05;${i}m${i}"; done | column -c 200 Show numerical values for each of the 256 colors in ZSH

漢になってみる

zsh

.zshrc bindkey -v bindkey "^j" vi-cmd-mode bindkeyの一覧表示 % bindkey -L|lv http://journal.mycom.co.jp/column/zsh/004/index.html

bindkey

zsh

設定しないと環境変数 EDITORやVISUALを参照するので設定 export SVN_EDITOR='/opt/local/bin/vim' export EDITOR='/opt/local/bin/vim'bindkey -e コマンド履歴の検索機能 bindkey "^P" history-beginning-search-backward-end bindkey "^N" history-beginn…

term != "screen"

screenでvimがこける。 % echo $TERM xterm-color % screen % echo $TERM vt100 % vi E437: terminal capability "cm" required Press ENTER or type command to continueなので ~/.screenrc term ansi ~/.vimrc " if &term =~ "screen" if &term !~ "xterm-…

インストール

zsh

$ curl -O http://www.zsh.org/pub/zsh-4.3.4.tar.gz $ tar xzvf zsh-4.3.4.tar.gz $ ./configure --enable-multibyte --enable-locale $ make $ sudo make install $ vi /etc/shells $ cat /etc/shells # List of acceptable shells for chpass(1). # Ftpd …