Skip to content

Instantly share code, notes, and snippets.

View linuxct's full-sized avatar

linuxct linuxct

View GitHub Profile
@linuxct
linuxct / arch-shell.sh
Last active August 17, 2017 22:44 — forked from JuanjoSalvador/debian-shell.sh
Archlinux package managers shell aliases
# Place the content of this script at the bottom of your ~/.bashrc file (or ~/.zshrc if you are using ZSH).
# Please be ensure that your shell doesn't have any alias or plugin with the following names: paci, pacu, pacr, pacq, pacd, pacl
# Replace 'pacman' with 'pacaur' if you want to use it instead,
PMG="pacman"
if [ "$PMG" = "pacman" ]; then
ELEVATOR="sudo"
elif [ "$PMG" = "pacaur" ]; then
ELEVATOR=""