Browse Source

Add completion for mssh

Emmanuel Bouthenot 14 năm trước cách đây
mục cha
commit
7542519178
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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
+