mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
bashrc & zshrc: add upgrade aliases
This commit is contained in:
parent
3803087b9e
commit
4e788589e4
4
bashrc
4
bashrc
@ -434,6 +434,10 @@ alias rss=reset
|
||||
# Who command which I use with Conky
|
||||
alias cwho="who -H -w -u"
|
||||
|
||||
# Upgrading Redhad/Debian
|
||||
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"
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
# .aliases
|
||||
|
4
zshrc
4
zshrc
@ -407,6 +407,10 @@ alias rss=reset
|
||||
# Who command which I use with Conky
|
||||
alias cwho="who -H -w -u"
|
||||
|
||||
# Upgrading Redhad/Debian
|
||||
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"
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user