diff --git a/sh/tmuxcomplete b/sh/tmuxcomplete index ed62ba2..b9195ca 100644 --- a/sh/tmuxcomplete +++ b/sh/tmuxcomplete @@ -104,7 +104,7 @@ splitwords() { # split on spaces tr -s '[:space:]' '\n' | # remove surrounding non-word characters - grep -o "\\w.*\\w" + grep -o "\w*" } # list all panes