Skip to content
Browse files

tmux bash completion

  • Loading branch information...
1 parent 342e73c commit 567cee70920a7ce2ab697612242d5aab9e69ec62 @mitchellh committed Jul 23, 2011
Showing with 7 additions and 3 deletions.
  1. +1 −2 bash.d/git
  2. +5 −0 bash.d/tmux
  3. +1 −1 bashrc
View
3 bash.d/git
@@ -1,6 +1,5 @@
#!/bin/bash
# Git bash completion
-GIT_VERSION="1.7.6"
-GIT_FILE="/usr/local/Cellar/git/${GIT_VERSION}/etc/bash_completion.d/git-completion.bash"
+GIT_FILE="/usr/local/etc/bash_completion.d/git-completion.bash"
test -f $GIT_FILE && source $GIT_FILE
View
5 bash.d/tmux
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# tmux has completion
+TMUX_FILE="/usr/local/etc/bash_completion.d/tmux"
+test -f $TMUX_FILE && source $TMUX_FILE
View
2 bashrc
@@ -168,7 +168,7 @@ test -f "$HOME/.aws/bashrc" && source "$HOME/.aws/bashrc"
# Other
#-------------------------------------------------------------------------------
# Plugins
-PLUGINS=( "git" "java" "rvm" "scala" )
+PLUGINS=( "git" "java" "rvm" "scala" "tmux" )
for plugin in "${PLUGINS[@]}"
do

0 comments on commit 567cee7

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