]> git.rmz.io Git - dotfiles.git/blob - zsh/lib/tmux.zsh
zsh: gpo/gpfo aliases for git push origin (--force-with-lease)
[dotfiles.git] / zsh / lib / tmux.zsh
1 if [[ -n "$TMUX" ]]; then
2 function update-env {
3 # update environment from tmux
4 eval $(tmux show-environment -s)
5 }
6 preexec_functions+=(update-env)
7 fi