Skip to content

Commit

Permalink
Merge pull request ohmyzsh#2258 from amilaperera/master
Browse files Browse the repository at this point in the history
getting the projects name correctly and making compdef to work with mux ...
  • Loading branch information
robbyrussell committed Dec 3, 2013
2 parents b764fad + 27d048a commit 4be8c51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/tmuxinator/_tmuxinator
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#compdef tmuxinator
#compdef tmuxinator mux
#autoload

local curcontext="$curcontext" state line ret=1
Expand All @@ -25,12 +25,12 @@ case $state in
args)
case $line[1] in
start|open|copy|delete)
_configs=(`tmuxinator list | sed -n 's/^[ \t]\+//p'`)
_configs=(`find ~/.tmuxinator/ -name \*.yml | cut -d/ -f5 | sed s:.yml::g`)
_values 'configs' $_configs
ret=0
;;
esac
;;
esac

return ret
return ret

0 comments on commit 4be8c51

Please sign in to comment.