]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
setup.sh: only link ~/.terminfo if Tmux is installed
authorSimon Ruderich <simon@ruderich.org>
Sun, 16 Mar 2014 14:58:32 +0000 (15:58 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sun, 16 Mar 2014 14:58:32 +0000 (15:58 +0100)
screen-it-256color is only necessary for Tmux.

setup.sh

index d43ef162941ac39626f7372f715229b529af78f8..e40249a956651eb5bbb93f7b2a1d7a3f39ea6005 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -256,7 +256,9 @@ link zsh/env ~/.zshenv
 link zsh/rc ~/.zshrc
 link zsh/logout ~/.zlogout
 
 link zsh/rc ~/.zshrc
 link zsh/logout ~/.zlogout
 
-link terminfo ~/.terminfo
+if installed tmux; then
+    link terminfo ~/.terminfo
+fi
 
 # Link setup for additional files.
 if installed crontab; then
 
 # Link setup for additional files.
 if installed crontab; then