More aliases
This commit is contained in:
parent
115104150f
commit
c48f5704d5
@ -30,3 +30,22 @@ alias mkdir="mkdir -p"
|
|||||||
alias dmesg="dmesg -L"
|
alias dmesg="dmesg -L"
|
||||||
alias ip="ip -c"
|
alias ip="ip -c"
|
||||||
alias diff="diff --color"
|
alias diff="diff --color"
|
||||||
|
|
||||||
|
# Anti-oops
|
||||||
|
alias poweroff="echo nope"
|
||||||
|
|
||||||
|
# Arch Linux "bite a bullet" aliases
|
||||||
|
function pacreboot {
|
||||||
|
pacman --noconfirm -Syu "${@}"
|
||||||
|
systemctl reboot
|
||||||
|
}
|
||||||
|
|
||||||
|
function pacpoweroff {
|
||||||
|
pacman --noconfirm -Syu "${@}"
|
||||||
|
systemctl poweroff
|
||||||
|
}
|
||||||
|
|
||||||
|
function pacsuspend {
|
||||||
|
pacman --noconfirm -Syu "${@}"
|
||||||
|
systemctl suspend
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user