fix tmux warning
This commit is contained in:
parent
e5e560c406
commit
bcf5846e80
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ _ps1_hook() {
|
|||
_bashrc_tmp_hook() {
|
||||
if [ ! -z "${bashrctmp:-x}" ];
|
||||
then
|
||||
tmux set-environment bashrctmp "${bashrctmp}"
|
||||
if [ -n "${TMUX}" ]; then
|
||||
tmux set-environment bashrctmp "${bashrctmp}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue