diff options
author | Andrea De Pasquale <andrea@de-pasquale.name> | 2013-09-24 11:11:35 +0200 |
---|---|---|
committer | Andrea De Pasquale <andrea@de-pasquale.name> | 2014-06-05 23:27:59 +0200 |
commit | 12324856c6645c2e71c4dfcf5ef12313c989b387 (patch) | |
tree | 227ef00e742d3712420d7a2fc102d369cea81248 /lib/termsupport.zsh | |
parent | 3913106b2e7127d396f27b652df812340ec0c871 (diff) | |
download | zsh-12324856c6645c2e71c4dfcf5ef12313c989b387.tar.gz zsh-12324856c6645c2e71c4dfcf5ef12313c989b387.tar.bz2 zsh-12324856c6645c2e71c4dfcf5ef12313c989b387.zip |
Added ssh-like mosh window title
Display the hostname when running Mosh (http://mosh.mit.edu/).
Same thing as displaying "hostname" when running "ssh hostname".
Diffstat (limited to 'lib/termsupport.zsh')
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 9c0a430fb..30410c1fd 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -28,7 +28,7 @@ function omz_termsupport_preexec { setopt extended_glob # cmd name only, or if this is sudo or ssh, the next cmd - local CMD=${1[(wr)^(*=*|sudo|ssh|rake|-*)]:gs/%/%%} + local CMD=${1[(wr)^(*=*|sudo|ssh|mosh|rake|-*)]:gs/%/%%} local LINE="${2:gs/%/%%}" title '$CMD' '%100>...>$LINE%<<' |