Fix a typo so new-session can be completed
parent
b1fe4568ad
commit
f6d9325722
|
|
@ -1,3 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
# tmux completion
|
# tmux completion
|
||||||
# See: http://www.debian-administration.org/articles/317 for how to write more.
|
# See: http://www.debian-administration.org/articles/317 for how to write more.
|
||||||
# Usage: Put "source bash_completion_tmux.sh" into your .bashrc
|
# Usage: Put "source bash_completion_tmux.sh" into your .bashrc
|
||||||
|
|
@ -98,7 +100,7 @@ _tmux() {
|
||||||
-t) _tmux_complete_session "${cur}" ;;
|
-t) _tmux_complete_session "${cur}" ;;
|
||||||
*) options="-t -d" ;;
|
*) options="-t -d" ;;
|
||||||
esac ;;
|
esac ;;
|
||||||
new-sesison|new)
|
new-session|new)
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
-t) _tmux_complete_session "${cur}" ;;
|
-t) _tmux_complete_session "${cur}" ;;
|
||||||
-[n|d|s]) options="-d -n -s -t --" ;;
|
-[n|d|s]) options="-d -n -s -t --" ;;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue