mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Modify tmuxinator has a bug when no project
This commit is contained in:
parent
46d4606e66
commit
54eb8b2f72
1 changed files with 4 additions and 3 deletions
|
|
@ -25,12 +25,13 @@ case $state in
|
||||||
args)
|
args)
|
||||||
case $line[1] in
|
case $line[1] in
|
||||||
start|open|copy|delete)
|
start|open|copy|delete)
|
||||||
_configs=(`tmuxinator list | sed -n 's/^[ \t]\+//p'`)
|
_configs=$(tmuxinator list | sed -n 's/^[ \t]\+//p')
|
||||||
_values 'configs' $_configs
|
|
||||||
|
test "x$_configs" != "x" && compadd $_configs
|
||||||
ret=0
|
ret=0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue