코딩과로그
zsh 자동명령어 보여주기 본문
https://github.com/marlonrichert/zsh-autocomplete
GitHub - marlonrichert/zsh-autocomplete: 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocomplet
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion. - GitHub - marlonrichert/zsh-autocomplete: 🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-y...
github.com
# Download Znap, if it's not there yet.
[[ -r ~/Repos/znap/znap.zsh ]] ||
git clone --depth 1 -- \
https://github.com/marlonrichert/zsh-snap.git ~/Repos/znap
source ~/Repos/znap/znap.zsh # Start Znap
znap source marlonrichert/zsh-autocomplete
# https://github.com/marlonrichert/zsh-autocomplete#reset-history-key-bindings-to-zsh-default
# don't use zsh-autocomplete's up key
() {
local -a prefix=( '\e'{\[,O} )
local -a up=( ${^prefix}A ) down=( ${^prefix}B )
local key=
for key in $up[@]; do
bindkey "$key" up-line-or-history
done
}
'Linux > Terminal' 카테고리의 다른 글
우분투 명령어 단축키 설정 패키지 (Xbindkeys) (0) | 2023.05.03 |
---|---|
[터미널] 특정 열에 대한 정보만 획득하기 (0) | 2023.03.28 |
리눅스 주요 명령어 정리 (0) | 2023.03.14 |