소스 검색

Add completion for mssh

Emmanuel Bouthenot 14 년 전
부모
커밋
7542519178
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      .zsh.d/config.d/alias.zsh

+ 6 - 0
.zsh.d/config.d/alias.zsh

@@ -100,3 +100,9 @@ if [ -z "$GIT_PAGER" ]; then
     done
 fi
 
+#
+# Mssh stuff
+#
+hosts=($(grep '^Host [^*]' ~/.ssh/config | sed 's/Host //'))
+compctl -k hosts mssh
+