From f6d9325722b4a7bd3598a1e7600e36f5a6e12518 Mon Sep 17 00:00:00 2001 From: Travis Swicegood Date: Sat, 11 Feb 2012 15:39:40 -0600 Subject: [PATCH] Fix a typo so new-session can be completed --- completion/available/tmux.completion.bash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/completion/available/tmux.completion.bash b/completion/available/tmux.completion.bash index 1026078..4fd0e0c 100644 --- a/completion/available/tmux.completion.bash +++ b/completion/available/tmux.completion.bash @@ -1,3 +1,5 @@ +#!/bin/bash + # tmux completion # See: http://www.debian-administration.org/articles/317 for how to write more. # Usage: Put "source bash_completion_tmux.sh" into your .bashrc @@ -98,7 +100,7 @@ _tmux() { -t) _tmux_complete_session "${cur}" ;; *) options="-t -d" ;; esac ;; - new-sesison|new) + new-session|new) case "$prev" in -t) _tmux_complete_session "${cur}" ;; -[n|d|s]) options="-d -n -s -t --" ;; -- 2.17.1