Skip to content

Commit 7c1b7b3

Browse files
authored
Merge pull request #2355 from seefood/feature/tmux-c-completion
2 parents 419083e + 0068bc9 commit 7c1b7b3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

completion/available/tmux.completion.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,12 +130,13 @@ _tmux() {
130130
new-session | new)
131131
case "$prev" in
132132
-t) _tmux_complete_session "${cur}" ;;
133+
-c) _tmux_filedir -d ;;
133134
-[n | d | s]) options="-d -n -s -t --" ;;
134135
*)
135136
if [[ ${COMP_WORDS[option_index]} == -- ]]; then
136137
_command_offset "${option_index}"
137138
else
138-
options="-d -n -s -t --"
139+
options="-d -n -s -t -c --"
139140
fi
140141
;;
141142
esac

0 commit comments

Comments
 (0)