aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mkshrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/mkshrc b/mkshrc
index e6dd331..e250edc 100644
--- a/mkshrc
+++ b/mkshrc
@@ -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
}