diff --git a/shells/shared/functions b/shells/shared/functions index da5c3a92..ed7ad72e 100644 --- a/shells/shared/functions +++ b/shells/shared/functions @@ -238,3 +238,12 @@ function updatePath(){ } +function ssh(){ + if [ -L $HOME/.dotfiles/shells/zsh/ssh-color-scheme ]; then + source $HOME/.dotfiles/shells/zsh/ssh-color-scheme + fi + command /usr/bin/ssh "$@" + if [ -L $HOME/.dotfiles/shells/zsh/current-color-scheme ]; then + source $HOME/.dotfiles/shells/zsh/current-color-scheme + fi +} diff --git a/shells/zsh/ssh-color-scheme b/shells/zsh/ssh-color-scheme new file mode 120000 index 00000000..4b0028b8 --- /dev/null +++ b/shells/zsh/ssh-color-scheme @@ -0,0 +1 @@ +base16-shell/scripts/base16-solarized-dark.sh \ No newline at end of file