소스 검색

zsh: jj completion

raylu 7 달 전
부모
커밋
739d8f068e
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      zshrc

+ 4 - 0
zshrc

@@ -154,6 +154,10 @@ else
 	PROMPT+=$'%{$reset_color%} \n%(!.#.\$) '
 fi
 
+if builtin which jj > /dev/null; then
+	source <(COMPLETE=zsh jj)
+fi
+
 if [ -x /usr/bin/fzf ]; then
 	FZF_DEFAULT_OPTS='--no-mouse'
 	source "/usr/share/doc/fzf/examples/key-bindings.zsh"