diff options
| -rw-r--r-- | mkshrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -453,7 +453,10 @@ pullsshconfig() { } updatetmuxconf() { pulldotfile "tmux.conf" - if ! [ -e $HOME/.tmux.conf.local ] ; then + if ! [ -e $HOME/.tmux.conf.local ] && [ `id -u` -eq 0 ] ; then + # If I ever change the color from green this will have to be updated I guess + grep 'green' $HOME/.tmux.conf | sed -e's/green/red/g' > $HOME/.tmux.conf.local + elif ! [ -e $HOME/.tmux.conf.local ] ; then touch $HOME/.tmux.conf.local fi } |
