Explorar o código

Add completion for mssh

Emmanuel Bouthenot %!s(int64=14) %!d(string=hai) anos
pai
achega
7542519178
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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
+