zsh
zshrc の末尾に書いておく [ -f ~/.zshrc.mine ] && source ~/.zshrc.mine 端末を共用している場合などに便利
autoload predict-on predict-on history から探して自動的に入力してくれる。 source .zshrc が history にあれば、 s をターミナルに入力した時点で source .zsh まで補完される
zshrc # history histfile=~/.zsh_history histsize=1000000 savehist=1000000 setopt hist_ignore_dups #ignore duplicate command setopt share_history #share command history
補完への第一歩
コマンド履歴を絞り込む
zsh に乗り換えたら pry が動かない
Macの標準のログインシェルはbashですが、 zshという便利なシェルがあるみたいなので、導入してみます。環境:MacOSX 10.9.4