Code Review
/
common
/
bash_it.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
68b0392
)
Fix typo in option check
author
Jon Schewe
<jpschewe@mtu.net>
Sat, 11 Feb 2012 20:48:09 +0000
(14:48 -0600)
committer
Jon Schewe
<jpschewe@mtu.net>
Sat, 11 Feb 2012 20:48:09 +0000
(14:48 -0600)
completion/available/tmux.completion.bash
patch
|
blob
|
history
diff --git
a/completion/available/tmux.completion.bash
b/completion/available/tmux.completion.bash
index
80857ad
..
1026078
100644
(file)
--- a/
completion/available/tmux.completion.bash
+++ b/
completion/available/tmux.completion.bash
@@
-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}