mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
bashrc & zshrc: comment lines aliasing apt-* and aptitude to apt.
apt doesn't have anything else nice than colours and progress bar and they are enabled to aptitude and apt-* by shell-things now.
This commit is contained in:
parent
c34279aad8
commit
d40f136141
12
bashrc
12
bashrc
@ -482,13 +482,13 @@ pkcs11so=`locate opensc-pkcs11.so`
|
||||
alias ssh-add-sc="ssh-add -s $opensc-pkcs11.so"
|
||||
alias ssh-add-sc-pub="ssh-add -L"
|
||||
|
||||
# apt in Ubuntu 14.04+ and other distributions
|
||||
## apt in Ubuntu 14.04+ and other distributions
|
||||
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
alias aptitude=apt
|
||||
alias apt-get=apt
|
||||
alias apt-cache=apt
|
||||
fi
|
||||
#if [ -f /usr/bin/apt ]; then
|
||||
# alias aptitude=apt
|
||||
# alias apt-get=apt
|
||||
# alias apt-cache=apt
|
||||
#fi
|
||||
|
||||
# Same as the previous, but for yum --> dnf
|
||||
|
||||
|
12
zshrc
12
zshrc
@ -456,13 +456,13 @@ pkcs11so=`locate opensc-pkcs11.so`
|
||||
alias ssh-add-sc="ssh-add -s $pkcs11so"
|
||||
alias ssh-add-sc-pub="ssh-add -L"
|
||||
|
||||
# apt in Ubuntu 14.04+ and other distributions
|
||||
## apt in Ubuntu 14.04+ and other distributions
|
||||
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
alias aptitude=apt
|
||||
alias apt-get=apt
|
||||
alias apt-cache=apt
|
||||
fi
|
||||
#if [ -f /usr/bin/apt ]; then
|
||||
# alias aptitude=apt
|
||||
# alias apt-get=apt
|
||||
# alias apt-cache=apt
|
||||
#fi
|
||||
|
||||
# Same as the previous, but for yum --> dnf
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user