Modify tmuxinator has a bug when no project

This commit is contained in:
dongweiming 2013-07-02 23:09:55 +08:00
commit 54eb8b2f72

View file

@ -25,12 +25,13 @@ case $state in
args)
case $line[1] in
start|open|copy|delete)
_configs=(`tmuxinator list | sed -n 's/^[ \t]\+//p'`)
_values 'configs' $_configs
_configs=$(tmuxinator list | sed -n 's/^[ \t]\+//p')
test "x$_configs" != "x" && compadd $_configs
ret=0
;;
esac
;;
esac
return ret
return ret