fix __bobthefish_vagrant_ids when no id present

because `cat` with no arguments just hangs out at stdin waiting for you to type something.
This commit is contained in:
Justin Hileman 2016-03-09 16:54:32 -08:00
parent c54707a136
commit cc1569f57c

View File

@ -198,7 +198,9 @@ function __bobthefish_prompt_vagrant -S -d 'Display Vagrant status'
end
function __bobthefish_vagrant_ids -S -d 'List Vagrant machine ids'
cat .vagrant/machines/**/id
for id in .vagrant/machines/**/id
cat $id
end
end
function __bobthefish_prompt_vagrant_vbox -S -d 'Display VirtualBox Vagrant status'