mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-03 16:52:37 +01:00
rc: fix #68
This commit is contained in:
parent
8729f1cb37
commit
f6e0aa1a1e
@ -595,6 +595,14 @@ alias connman-wlans='grep -E "Name|Passphrase" /var/lib/connman/wifi*/settings -
|
||||
# Meant for SSL certificates (IRC))
|
||||
alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'"
|
||||
|
||||
# As pacman and yaourt share the same flags
|
||||
if hash yaourt 2>/dev/null; then
|
||||
alias pacman="yaourt --needed"
|
||||
else
|
||||
# I don't want to reinstall exact same versions that I have
|
||||
alias pacman="pacman --needed"
|
||||
fi
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
8
rc/zshrc
8
rc/zshrc
@ -570,6 +570,14 @@ alias connman-wlans='grep -E "Name|Passphrase" /var/lib/connman/wifi*/settings -
|
||||
# Meant for SSL certificates (IRC))
|
||||
alias lowernocolon="tr -d ':' | tr 'A-Z' 'a-z'"
|
||||
|
||||
# As pacman and yaourt share the same flags
|
||||
if hash yaourt 2>/dev/null; then
|
||||
alias pacman="yaourt --needed"
|
||||
else
|
||||
# I don't want to reinstall exact same versions that I have
|
||||
alias pacman="pacman --needed"
|
||||
fi
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user