mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
bashrc & zshrc: there is probably no reason to do same with Fedora.
If dnf exists, alias yum=dnf .
This commit is contained in:
parent
d2fc565a8a
commit
65b7b67938
6
bashrc
6
bashrc
@ -490,6 +490,12 @@ if [ -f /usr/bin/apt ]; then
|
||||
alias apt-cache=apt
|
||||
fi
|
||||
|
||||
# Same as the previous, but for yum --> dnf
|
||||
|
||||
if [ -f /usr/bin/dnf ]; then
|
||||
alias yum=dnf
|
||||
fi
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
Loading…
Reference in New Issue
Block a user