mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2026-03-02 03:49:25 +00:00
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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user