fix tmuxinator completion

This commit is contained in:
James Walker 2014-01-10 09:50:42 -05:00
parent b85c900f7a
commit 0c247adc04

View File

@ -25,7 +25,7 @@ case $state in
args) args)
case $line[1] in case $line[1] in
start|open|copy|delete) start|open|copy|delete)
_configs=(`tmuxinator list | awk "NR==2"`) _configs=(`find ~/.tmuxinator/* -name \*.yml | cut -d/ -f5 | sed s:.yml::g`)
_values 'configs' $_configs _values 'configs' $_configs
ret=0 ret=0
;; ;;
@ -33,4 +33,4 @@ case $state in
;; ;;
esac esac
return ret return ret