{bash,zsh}rc: improve the pacman alias

This commit is contained in:
Aminda Suomalainen 2024-08-10 07:15:19 +03:00
parent 98976e793d
commit a226af0e8c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 6 additions and 4 deletions

View File

@ -557,8 +557,9 @@ alias connman-wlans='grep -E "Name|Passphrase" /var/lib/connman/wifi*/settings -
alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'" alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'"
# I don't want to reinstall exact same versions that I have # I don't want to reinstall exact same versions that I have
alias pacman="LANG=en pacman --needed" if hash pacman 2> /dev/null; then
#fi alias pacman="LANG=en_DK.UTF-8 pacman --needed"
fi
# Sailfish Network status, via IRC # Sailfish Network status, via IRC
alias sailfish-nstatus='dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Manager.GetServices|less' alias sailfish-nstatus='dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Manager.GetServices|less'

View File

@ -543,8 +543,9 @@ alias connman-wlans='grep -E "Name|Passphrase" /var/lib/connman/wifi*/settings -
alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'" alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'"
# I don't want to reinstall exact same versions that I have # I don't want to reinstall exact same versions that I have
alias pacman="LANG=en pacman --needed" if hash pacman 2> /dev/null; then
#fi alias pacman="LANG=en_DK.UTF-8 pacman --needed"
fi
# Sailfish Network status, via IRC # Sailfish Network status, via IRC
alias sailfish-nstatus='dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Manager.GetServices|less' alias sailfish-nstatus='dbus-send --system --type=method_call --print-reply --dest=net.connman / net.connman.Manager.GetServices|less'