Loading .shell/bin/tmux-display-helper +3 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,9 @@ fi start_client() { [ $# -eq 1 ] || bad_arg "start-client takes no arguments" [ -z "$TMUX" ] || die "this command must be run from outside of tmux" launch tmux start-server # no-op if already started if ! tmux has-session; then launch tmux start-server fi set_var DISPLAY "$DISPLAY" tmux attach-session; code=$? unset_var DISPLAY Loading Loading
.shell/bin/tmux-display-helper +3 −1 Original line number Diff line number Diff line Loading @@ -94,7 +94,9 @@ fi start_client() { [ $# -eq 1 ] || bad_arg "start-client takes no arguments" [ -z "$TMUX" ] || die "this command must be run from outside of tmux" launch tmux start-server # no-op if already started if ! tmux has-session; then launch tmux start-server fi set_var DISPLAY "$DISPLAY" tmux attach-session; code=$? unset_var DISPLAY Loading