From 9351a8addd92eba8bb0fce251b6f9d759dcc2bd4 Mon Sep 17 00:00:00 2001 From: steveokard Date: Wed, 9 Aug 2017 11:31:37 -0400 Subject: [PATCH] theme depends on if in SSH session or not --- .vim/.netrwhist | 3 +++ .zshrc | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .vim/.netrwhist diff --git a/.vim/.netrwhist b/.vim/.netrwhist new file mode 100644 index 0000000..5f2d8e9 --- /dev/null +++ b/.vim/.netrwhist @@ -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' diff --git a/.zshrc b/.zshrc index 47f7809..c3e7b16 100644 --- a/.zshrc +++ b/.zshrc @@ -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 -ZSH_THEME="agnoster" - +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"