X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=setup.sh;h=cc77d54e5a6c7b6a450ad69e7f030e907e4c2475;hb=1df60503e9441b5d2f5a09ad2d01f99055b6e2d2;hp=3950d1511a72d61fcb2030c5ce10e5f01c85cfa3;hpb=7d5048570745abcae35256e8a34e8a2f4d0f3b0a;p=config%2Fdotfiles.git diff --git a/setup.sh b/setup.sh index 3950d15..cc77d54 100755 --- a/setup.sh +++ b/setup.sh @@ -119,6 +119,12 @@ if installed tmux; then s/screen-256color/screen/' tmux.conf > tmux.conf.tmp mv tmux.conf.tmp tmux.conf fi + # Tmux doesn't display a warning if the shell wasn't found! + if test ! -x '/bin/zsh'; then + echo tmux.conf: removing /bin/zsh as shell + sed 's/zsh/sh/' tmux.conf > tmux.conf.tmp + mv tmux.conf.tmp tmux.conf + fi fi # Htop overwrites the comments in its configuration file.