More comprehensive pacman aliasing
This commit is contained in:
parent
2d72952634
commit
db0b37329d
|
@ -1,7 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if command -v yay &> /dev/null; then
|
||||
alias pacman="yay"
|
||||
alias pacman="sudo yay"
|
||||
elif command -v pikaur &> /dev/null; then
|
||||
alias pacman="sudo pikaur"
|
||||
else
|
||||
alias pacman="sudo pacman"
|
||||
fi
|
||||
|
||||
function ishelp {
|
||||
|
@ -136,7 +140,6 @@ alias apt-get="sudo apt-get"
|
|||
alias eject="sudo eject"
|
||||
alias dpkg="sudo dpkg"
|
||||
alias dpi="sudo dpkg -i"
|
||||
alias pacman="sudo pacman"
|
||||
alias systemctl="sudo systemctl"
|
||||
|
||||
alias python="python3"
|
||||
|
|
Loading…
Reference in New Issue