aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/iTerm2-ssh.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh/oh-my-zsh/iTerm2-ssh.zsh')
-rw-r--r--zsh/oh-my-zsh/iTerm2-ssh.zsh28
1 files changed, 0 insertions, 28 deletions
diff --git a/zsh/oh-my-zsh/iTerm2-ssh.zsh b/zsh/oh-my-zsh/iTerm2-ssh.zsh
deleted file mode 100644
index 6f19818..0000000
--- a/zsh/oh-my-zsh/iTerm2-ssh.zsh
+++ /dev/null
@@ -1,28 +0,0 @@
-function tabc() {
- NAME=$1; if [ -z "$NAME" ]; then NAME="Default"; fi
- echo -e "\033]50;SetProfile=$NAME\a"
-}
-
-function tab-reset() {
- NAME="Default"
- echo -e "\033]50;SetProfile=$NAME\a"
-}
-
-function colorssh() {
- if [[ -n "$ITERM_SESSION_ID" ]]; then
- trap "tab-reset" INT EXIT
- if [[ "$*" =~ "ceres" ]]; then
- tabc "SSH - Ceres"
- elif [[ "$*" =~ "ug04" || "$*" =~ "tw" ]]; then
- tabc "SSH - SoCS"
- else
- tabc "SSH - Unknown"
- fi
-# tabc SSH
- fi
- ssh $*
-}
-compdef _ssh tabc=ssh
-
-alias ssh="colorssh"
-