summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bin/tmux_attach2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bin/tmux_attach b/bin/bin/tmux_attach
index 4938543..75fe649 100755
--- a/bin/bin/tmux_attach
+++ b/bin/bin/tmux_attach
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
SESSIONS=$(tmux list-sessions | cut -d':' -f1)
-TMUXINATOR=$(tmuxinator list | sed '1d' | sed 's/ /\n/g')
+TMUXINATOR=$(tmuxinator list | sed '1d' | sed 's/\s\+/\n/g')
UNION=$(cat <(echo "$SESSIONS") <(echo "$TMUXINATOR") | sort | uniq | sed "/^$/d")
SESSION=$(echo "$UNION" | dmenu -i -p "Session:" | tr -d '[[:space:]]')