From 02979c9a4721ee6d3a00c69a399744bf658483f0 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 1 Sep 2024 11:37:20 +0200 Subject: [PATCH] addet virsh aliass --- .zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.zshrc b/.zshrc index 30099d3..a9096d9 100644 --- a/.zshrc +++ b/.zshrc @@ -182,6 +182,14 @@ _alias(){ alias ts="tmux source $HOME/.tmux.conf" fi +# ─< v stands vor virtual-machine (kvm) >───────────────────────────────────────────────── + if command_exists virsh; then + alias vm="virsh" + alias vms="virsh start" + alias vml="virsh list --all" + alias vmr="virsh stop" + fi + # ─< t stands for trash(-cli) >─────────────────────────────────────────────────────────────── if command_exists trash; then alias rm="trash"