zsh
Z Shell
Bourne Shell系でもあり、csh系でもある
いろいろなシェルの良いとこ取りをしていて多機能
なので、サイズがでかい
プリンストン大学のPaul Falstad氏が開発
oh my zsh
ZLE
Prezto
https://github.com/sorin-ionescu/prezto
plugins
zsh-autosuggestions
https://github.com/zsh-users/zsh-autosuggestions
途中まで打ったらhistoryから薄字で補完してくれる
「→」とかctrl-eを入力したら適用できる
nixのときはこの辺参考にした
zsh-completions
https://github.com/zsh-users/zsh-completions
なに?
zsh-history-substring-search
https://github.com/zsh-users/zsh-history-substring-search
数文字打った状態で「↑」「↓」で、その文字とmatchするものをhistoryから探せる
zsh-syntax-highlighting
https://github.com/zsh-users/zsh-syntax-highlighting
CLI上のsyntax highlight
例えばgitと打てば青くなるが、gtiと打てば赤いまま、など
自作する
https://zenn.dev/yano/articles/zsh_plugin_from_deno
denoで自作する
vim mode
$ bindkey -v
これのdocs的なやつを見たい #??
https://nishikawasasaki.hatenablog.com/entry/20101227/1293459255
https://qiita.com/b4b4r07/items/8db0257d2e6f6b19ecb9#vi-ライクなインターフェース
undo
ctrl-x u
ctrl-xはEmacsのノリかmrsekut.icon
#??
zshrcとzsh_profileって何が違う
zshのhistory
optionのman
$ man zshoptions
内容が多すぎて読んでられない..mrsekut.icon
現在設定されているoption一覧を見る
$ setopt