zsh のコマンド訂正機能をONにしてくると出てくる [nyae]? のプロンプト、n と y はなんとなく No と Yes だとわかるのだけど残りの二つはわからなかったので調べた。 ぐぐってひっかかったのは安心の StackOverflow である。 Unable to understand the question by Zsh - Stack Overflow このプロンプトは .zshrc で setopt correct_all を有効にしている際にコマンドを打ち間違えた時に出てくる。 $ sl zsh: correct 'sl' to 'ls' [nyae]? nyae はそれぞれ No Yes Abort Edit の頭文字で以下のアクションを示す。 No
![[nyae]?](https://cdn-ak-scissors.b.st-hatena.com/image/square/963449e3f11496240a14e0d37dc93268bd7f2ebb/height=288;version=1;width=512/https%3A%2F%2Floumo.jp%2Fwp%2Fwp-content%2Fthemes%2Fcocoon-master%2Fscreenshot.jpg)