mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-23 11:12:48 +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 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 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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .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 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 aptyup="apt-get -y update;apt-get -y upgrade;update-grub"
|
||||||
|
|
||||||
|
alias apt-gety="apt-get -y "
|
||||||
|
alias aptitude="aptitude -y "
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user