Prevent double-exeution of profile in tmux

This commit is contained in:
Henrik Lissner 2017-07-19 13:25:04 +02:00
parent 866fcc5761
commit cdaeab4471
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 1 deletions

View file

@ -1,8 +1,10 @@
# -- GENERAL -----------------------------
set -g default-terminal screen-256color
set -g default-shell $SHELL
set -g default-command $SHELL
# Prevent double-execution of profile, $SHELL needs to be explicitly in profile
# though
set -g default-shell /bin/sh
set -s focus-events on
# increase scrollback buffer size
set -g history-limit 10000

View file

@ -14,6 +14,7 @@ fpath=(
)
export LESS='-g -i -M -R -S -w -z-4'
export SHELL=$(which zsh)
if is-callable lesspipe; then
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
fi