Prevent double-exeution of profile in tmux
This commit is contained in:
parent
866fcc5761
commit
cdaeab4471
|
@ -1,8 +1,10 @@
|
||||||
# -- GENERAL -----------------------------
|
# -- GENERAL -----------------------------
|
||||||
|
|
||||||
set -g default-terminal screen-256color
|
set -g default-terminal screen-256color
|
||||||
set -g default-shell $SHELL
|
|
||||||
set -g default-command $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
|
set -s focus-events on
|
||||||
# increase scrollback buffer size
|
# increase scrollback buffer size
|
||||||
set -g history-limit 10000
|
set -g history-limit 10000
|
||||||
|
|
|
@ -14,6 +14,7 @@ fpath=(
|
||||||
)
|
)
|
||||||
|
|
||||||
export LESS='-g -i -M -R -S -w -z-4'
|
export LESS='-g -i -M -R -S -w -z-4'
|
||||||
|
export SHELL=$(which zsh)
|
||||||
if is-callable lesspipe; then
|
if is-callable lesspipe; then
|
||||||
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
|
export LESSOPEN='| /usr/bin/env lesspipe %s 2>&-'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue