Make reboot a function not an alias
This commit is contained in:
parent
2af1f0f61a
commit
01c088d308
1 changed files with 6 additions and 1 deletions
|
@ -168,7 +168,12 @@ bye() {
|
||||||
sudo shutdown now
|
sudo shutdown now
|
||||||
}
|
}
|
||||||
|
|
||||||
alias reboot='sudo protonvpn d; sudo reboot'
|
reboot() {
|
||||||
|
if command -v protonvpn >/dev/null 2>&1; then
|
||||||
|
sudo protonvpn d
|
||||||
|
fi
|
||||||
|
sudo reboot
|
||||||
|
}
|
||||||
|
|
||||||
# Open a map with location after using whois
|
# Open a map with location after using whois
|
||||||
whois-firefox() {
|
whois-firefox() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue