1
0
Fork 0

.zsh_aliases: add alias for pkgupdateall and export LESS with SRX so yay can show diff properly

This commit is contained in:
Pratham Patel 2022-11-20 23:04:31 +05:30
parent 50790fd753
commit c8e1c68866
1 changed files with 5 additions and 2 deletions

View File

@ -212,9 +212,12 @@ if [[ "$OSTYPE" == "linux-gnu"* ]]; then
elif [[ "$NAME" == "Ubuntu" && "$MACHINE_HOSTNAME" == "sentinel" ]]; then
alias drivetemp="sudo hdparm -CH /dev/sda /dev/sdb /dev/sdc /dev/sdd"
elif [[ "$NAME" == "Arch Linux" && "$MACHINE_HOSTNAME" == "flameboi" ]]; then
alias pacman="pacman --color always"
alias pkgshowfiles="pacman --color always --query --list"
export LESS=SRX
alias pkgupdateall="yay -Syu"
alias pkgshowfiles="pacman --query --list"
fi
elif [[ "$OSTYPE" == "darwin"* ]];then