mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-01 23:34:03 +01:00
bashrc & zshrc: don't use apt-get as an alias for aptitude.
I just experienced problems with aptitude not being able to upgrade, but apt-get can do it.
This commit is contained in:
parent
1bea3c34dc
commit
7459137d94
3
bashrc
3
bashrc
@ -301,9 +301,6 @@ alias rsync-folder="rsync -h --progress -azvv "
|
|||||||
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
||||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||||
|
|
||||||
# Usually aptitude is installed everywhere and if it's not, it can be unaliased in .aliases.
|
|
||||||
alias apt-get=aptitude
|
|
||||||
|
|
||||||
# Use GPG2 instead of GPG!
|
# Use GPG2 instead of GPG!
|
||||||
alias gpg=gpg2
|
alias gpg=gpg2
|
||||||
|
|
||||||
|
1
warnings
1
warnings
@ -1,7 +1,6 @@
|
|||||||
command -v \vim >/dev/null 2>&1 || { echo >&2 "WARNING: vim isn't installed You should install it, because it's used as text editor.!"; }
|
command -v \vim >/dev/null 2>&1 || { echo >&2 "WARNING: vim isn't installed You should install it, because it's used as text editor.!"; }
|
||||||
command -v \most >/dev/null 2>&1 || { echo >&2 "WARNING: most isn't installed! You should install it, because it's used as pager."; }
|
command -v \most >/dev/null 2>&1 || { echo >&2 "WARNING: most isn't installed! You should install it, because it's used as pager."; }
|
||||||
command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! You should install it, because it's used as top."; }
|
command -v \htop >/dev/null 2>&1 || { echo >&2 "WARNING: htop isn't installed! You should install it, because it's used as top."; }
|
||||||
command -v \aptitude >/dev/null 2>&1 || { echo >&2 "WARNING: aptitude isn't installed! You should install it, because it's used as apt-get"; }
|
|
||||||
command -v \gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed! You should install it, because it's used as gpg."; }
|
command -v \gpg2 >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg2 isn't installed! You should install it, because it's used as gpg."; }
|
||||||
command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! You should install it, because it's used by many functions."; }
|
command -v \lynx >/dev/null 2>&1 || { echo >&2 "WARNING: lynx isn't installed! You should install it, because it's used by many functions."; }
|
||||||
command -v \gpg-agent >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg-agent isn't installed. You should install it, because it's used by gpg.conf and xsessionrc in shell-things."; }
|
command -v \gpg-agent >/dev/null 2>&1 || { echo >&2 "WARNING: gnupg-agent isn't installed. You should install it, because it's used by gpg.conf and xsessionrc in shell-things."; }
|
||||||
|
3
zshrc
3
zshrc
@ -242,9 +242,6 @@ alias rsync-folder="rsync -h --progress -azvv "
|
|||||||
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
||||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||||
|
|
||||||
# Usually aptitude is installed everywhere and if it's not, it can be unaliased in .aliases.
|
|
||||||
alias apt-get=aptitude
|
|
||||||
|
|
||||||
# Use GPG2 instead of GPG!
|
# Use GPG2 instead of GPG!
|
||||||
alias gpg=gpg2
|
alias gpg=gpg2
|
||||||
# ZSH doesn't currently include automatic completion for GPG2,
|
# ZSH doesn't currently include automatic completion for GPG2,
|
||||||
|
Loading…
Reference in New Issue
Block a user