Skip to content
Browse files

Fix a typo so new-session can be completed

  • Loading branch information...
1 parent b1fe456 commit f6d9325722b4a7bd3598a1e7600e36f5a6e12518 @tswicegood tswicegood committed Feb 11, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 completion/available/tmux.completion.bash
View
4 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 --" ;;

0 comments on commit f6d9325

Please sign in to comment.
Something went wrong with that request. Please try again.