Add sudo to shutdown and reboot
This commit is contained in:
parent
4f7f974afa
commit
839fa07c5c
1 changed files with 3 additions and 1 deletions
|
@ -118,9 +118,11 @@ bye() {
|
||||||
if command -v protonvpn >/dev/null 2>&1; then
|
if command -v protonvpn >/dev/null 2>&1; then
|
||||||
sudo protonvpn d
|
sudo protonvpn d
|
||||||
fi
|
fi
|
||||||
shutdown now
|
sudo shutdown now
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias reboot='sudo protonvpn d; sudo reboot'
|
||||||
|
|
||||||
# Open a map with location after using whois
|
# Open a map with location after using whois
|
||||||
whois-firefox() {
|
whois-firefox() {
|
||||||
mkfifo pipe; cat pipe &
|
mkfifo pipe; cat pipe &
|
||||||
|
|
Loading…
Add table
Reference in a new issue