From 51e4b6d6911c22b1dd0ffdc42d9f348c859fce91 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Mon, 8 Sep 2025 20:07:46 +0200 Subject: [PATCH] Activate Vagrant configuration only if Vagrant is installed --- conf.d/vagrant.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf.d/vagrant.fish b/conf.d/vagrant.fish index 0961c60..95f4e8d 100644 --- a/conf.d/vagrant.fish +++ b/conf.d/vagrant.fish @@ -1 +1,3 @@ -set -gx VAGRANT_DEFAULT_PROVIDER libvirt +if command -q vagrant + set -gx VAGRANT_DEFAULT_PROVIDER libvirt +end