theme depends on if in SSH session or not

This commit is contained in:
Stefen Auris 2017-08-09 11:31:37 -04:00
parent a744220379
commit 9351a8addd
2 changed files with 9 additions and 2 deletions

3
.vim/.netrwhist Normal file
View file

@ -0,0 +1,3 @@
let g:netrw_dirhistmax =10
let g:netrw_dirhist_cnt =1
let g:netrw_dirhist_1='/home/stev/stevset/.oh-my-zsh/plugins/tmux'

6
.zshrc
View file

@ -7,8 +7,12 @@
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
if [[ -n "$SSH_CLIENT" ]]
then
ZSH_THEME="bureau"
else
ZSH_THEME="agnoster"
fi
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"