Added a wrapped qemu export

to enable rootless control of virsh
This commit is contained in:
2020-08-06 08:16:19 -04:00
parent d277d45b20
commit f321d9ba60

6
.zshrc
View File

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