Fix typo in option check
authorJon Schewe <jpschewe@mtu.net>
Sat, 11 Feb 2012 20:48:09 +0000 (14:48 -0600)
committerJon Schewe <jpschewe@mtu.net>
Sat, 11 Feb 2012 20:48:09 +0000 (14:48 -0600)
completion/available/tmux.completion.bash

index 80857ad..1026078 100644 (file)
@@ -101,7 +101,7 @@ _tmux() {
             new-sesison|new)
             case "$prev" in
                 -t) _tmux_complete_session "${cur}" ;;
-                -@(n|d|s)) options="-d -n -s -t --" ;;
+                -[n|d|s]) options="-d -n -s -t --" ;;
                 *) 
                 if [[ ${COMP_WORDS[option_index]} == -- ]]; then
                     _command_offset ${option_index}