diff --git a/fake_home/.shell_aliases b/fake_home/.shell_aliases index a6ec763..f3f81d5 100755 --- a/fake_home/.shell_aliases +++ b/fake_home/.shell_aliases @@ -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"