diff --git a/.zshrc b/.zshrc index d452cfa..9733c2e 100644 --- a/.zshrc +++ b/.zshrc @@ -140,3 +140,9 @@ PATH="$HOME/.local/bin:$HOME/bin:$PATH" if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi + +# Enable rootless control of virsh, if installed +if [[ -f /usr/bin/virsh ]]; then + export LIBVIRT_DEFAULT_URI=qemu:///system +fi +