Fix typo in option check

This commit is contained in:
Jon Schewe
2012-02-11 14:48:09 -06:00
parent 68b0392ce4
commit 92c97591be

View 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}