addet virsh aliass
This commit is contained in:
parent
0ed6669a22
commit
02979c9a47
1 changed files with 8 additions and 0 deletions
8
.zshrc
8
.zshrc
|
@ -182,6 +182,14 @@ _alias(){
|
||||||
alias ts="tmux source $HOME/.tmux.conf"
|
alias ts="tmux source $HOME/.tmux.conf"
|
||||||
fi
|
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) >───────────────────────────────────────────────────────────────
|
# ─< t stands for trash(-cli) >───────────────────────────────────────────────────────────────
|
||||||
if command_exists trash; then
|
if command_exists trash; then
|
||||||
alias rm="trash"
|
alias rm="trash"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue