Skip to content

Commit ab3e4e0

Browse files
committed
Improve goto session performance
1 parent 0df19fd commit ab3e4e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/goto_session.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
44

55
main() {
6-
# displayes tmux session list
7-
tmux run-shell "$CURRENT_DIR/list_sessions.sh"
6+
# displays tmux session list
7+
tmux run-shell -b "$CURRENT_DIR/list_sessions.sh"
88
# goto command prompt
99
tmux command -p session: "run '$CURRENT_DIR/switch_or_loop.sh \"%1\"'"
1010
}

0 commit comments

Comments
 (0)