]> arthur.barton.de Git - ax-zsh.git/commitdiff
Add "mosh" plugin
authorAlexander Barton <alex@barton.de>
Sat, 18 Jul 2015 16:02:48 +0000 (18:02 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 18 Jul 2015 16:02:48 +0000 (18:02 +0200)
plugins/mosh/mosh.zshrc [new file with mode: 0644]

diff --git a/plugins/mosh/mosh.zshrc b/plugins/mosh/mosh.zshrc
new file mode 100644 (file)
index 0000000..36caf07
--- /dev/null
@@ -0,0 +1,8 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# mosh.zshrc: Setup mosh(1)
+
+# Make sure that "mosh(1)" is installed
+(( $+commands[mosh] )) || return
+
+# Use the SSH completions for mosh, too
+compdef mosh=ssh