eubnara / troubleshooting

이것저것 공부하다가 맞닥뜨리는 문제점, 해결방식 등 정리
2 stars 0 forks source link

zsh 에서 탭키로 자동완성하지 않기 #82

Open eubnara opened 1 year ago

eubnara commented 1 year ago
AUTO_MENU <D>

    Automatically use menu completion after the second consecutive request for completion, for example by pressing the tab key repeatedly. This option is overridden by MENU_COMPLETE. 

https://zsh.sourceforge.io/Doc/Release/Options.html#index-COMBININGCHARS

~/.zshrc 에 다음 라인 추가

setopt +o automenu
eubnara commented 1 year ago

https://zsh.sourceforge.io/Doc/Release/Options.html

setopt 로 켜고 끌 수 있으며, <D> 로 표시된 것은 기본적으로 켜는 것이다. no prefix 를 붙여서 사용할 수도 있다.

❯ setopt | grep automenu
noautomenu

~
❯ setopt -o automenu

~
❯ setopt | grep automenu

~
❯ setopt -o noautomenu

~
❯ setopt | grep automenu
noautomenu