mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
bashrc & zshrc: add apt-gety & aptitudey.
Debian side of yumyup.
This commit is contained in:
parent
6fc5d9d30e
commit
57d303f8b6
4
bashrc
4
bashrc
@ -438,6 +438,10 @@ alias cwho="who -H -w -u"
|
||||
alias yumyup="yum -y check-update;yum -y update;grub2-mkconfig -o /boot/grub2/grub.cfg"
|
||||
alias aptyup="apt-get -y update;apt-get -y upgrade;update-grub"
|
||||
|
||||
alias apt-gety="apt-get -y "
|
||||
alias aptitude="aptitude -y "
|
||||
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
3
zshrc
3
zshrc
@ -411,6 +411,9 @@ alias cwho="who -H -w -u"
|
||||
alias yumyup="yum -y check-update;yum -y update;grub2-mkconfig -o /boot/grub2/grub.cfg"
|
||||
alias aptyup="apt-get -y update;apt-get -y upgrade;update-grub"
|
||||
|
||||
alias apt-gety="apt-get -y "
|
||||
alias aptitude="aptitude -y "
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user