diff options
| author | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-11-20 20:33:13 +0000 |
|---|---|---|
| committer | LMBishop <13875753+LMBishop@users.noreply.github.com> | 2022-11-20 20:33:13 +0000 |
| commit | 6b1b61f98813a58286e099d92767e01c2d40bc18 (patch) | |
| tree | a3613fba312e0f324bdbca28ec3d3d0b5e6f6e13 /zsh/oh-my-zsh/iTerm2-ssh.zsh | |
| parent | 6a0e18aab79cefa8cd4917e9a6d121349f41eb3f (diff) | |
Redo deploy script
Diffstat (limited to 'zsh/oh-my-zsh/iTerm2-ssh.zsh')
| -rw-r--r-- | zsh/oh-my-zsh/iTerm2-ssh.zsh | 28 |
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" - |
