]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - shell/setup.sh
screenrc: use full path in "shell" option
[config/dotfiles.git] / shell / setup.sh
index 084193e467a0f6757f0183eed056136c2bb6c768..edb209ffc0b16444d520259053c82a411936b260 100755 (executable)
@@ -133,6 +133,9 @@ if ! lsblk --merge >/dev/null 2>&1; then
 fi
 
 generate screenrc .in cat
+# Use absolute path for "shell" option for proper $SHELL variable.
+apply_optional_replacement screenrc \
+    zsh ZSH "`installed_path zsh`"
 # As screen-256color is not widely supported use it only on machines where the
 # matching terminfo entry is available. This also requires a terminal emulator
 # which supports 256 colors. Also used for tmux.