zsh: Add useful tmux default behavior

master
Taeyeon Mori 6 years ago
parent 60db0003aa
commit f0dbb9427a
  1. 11
      zsh/zshrc

@ -82,6 +82,17 @@ if (( $+commands[nvim] )); then
alias vim=nvim alias vim=nvim
fi fi
#
# tmux
#
function tmux {
if [ $# -gt 0 ]; then
command tmux "$@"
else
command tmux new -As default
fi
}
# #
# BusyBox # BusyBox

Loading…
Cancel
Save