Make colourscheme solarized dark when sshing

This commit is contained in:
Jonathan Hodgson 2019-08-02 11:37:32 +01:00
parent d3d4e51473
commit bacb273f81
2 changed files with 10 additions and 0 deletions

View file

@ -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
}

1
shells/zsh/ssh-color-scheme Symbolic link
View file

@ -0,0 +1 @@
base16-shell/scripts/base16-solarized-dark.sh