]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
shell/aliases: use `command`
[config/dotfiles.git] / setup.sh
index d43ef162941ac39626f7372f715229b529af78f8..08efb21e3da725828b957307d14bc633ded08f9b 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -82,8 +82,6 @@ fi
 # shell/aliases.in for details. Doing this here instead of in shell/aliases
 # speeds up shell starts.
 #
-# Absolute path to `ls`.
-ls_path=`installed_path ls`
 # GNU ls with colors available.
 if ls --color >/dev/null 2>&1; then
     ls_env=
@@ -106,8 +104,8 @@ else
 fi
 
 generate shell/aliases .in simple_cpp \
-    LS_ENV LS_PATH LS_COLOR COLUMN -- \
-    "$ls_env" "$ls_path" "$ls_color" "$column"
+    LS_ENV LS_COLOR COLUMN -- \
+    "$ls_env" "$ls_color" "$column"
 
 # If `tig` is not available use my simple replacement.
 if ! installed tig; then
@@ -256,7 +254,9 @@ link zsh/env ~/.zshenv
 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