Fix $DISPLAY issues with Tmux
Ensure that DISPLAY is set correctly so that commands executed in Tmux that require X windows don't disappear.
This commit is contained in:
parent
10aef4e40d
commit
4c1fbe01f6
2 changed files with 21 additions and 0 deletions
|
|
@ -47,3 +47,9 @@ source "$DOTFILES/configs/shared/zsh/variables.zsh"
|
|||
source "$DOTFILES/configs/shared/zsh/aliases.zsh"
|
||||
source "$DOTFILES/configs/shared/zsh/functions.zsh"
|
||||
source "$DOTFILES/configs/shared/zsh/zle.zsh"
|
||||
|
||||
preexec() {
|
||||
# `preexec` runs before every command is run.
|
||||
update_x11_forwarding
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue