mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +01:00
bashrc & zshrc: add alias fcorepattern & aptitudeyup...
fcorepattern sets core file name as I want and aptitudeyup is aptitude version of aptyup.
This commit is contained in:
parent
da46792d17
commit
3ce88cd414
3
bashrc
3
bashrc
@ -437,10 +437,13 @@ 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"
|
||||
allias aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub"
|
||||
|
||||
alias apt-gety="apt-get -y "
|
||||
alias aptitudey="aptitude -y "
|
||||
|
||||
# Set core pattern how I want it to be
|
||||
alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
|
||||
|
||||
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||
|
||||
|
5
zshrc
5
zshrc
@ -410,10 +410,15 @@ 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"
|
||||
alias aptitudeyup="aptitude -y update;aptitude -y upgrade;update-grub"
|
||||
|
||||
alias apt-gety="apt-get -y "
|
||||
alias aptitudey="aptitude -y "
|
||||
|
||||
# Set core pattern how I want it to be
|
||||
alias fcorepattern='echo kernel.core_pattern = %e-%p-%h.core >> /etc/sysctl.conf'
|
||||
|
||||
|
||||
# .aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
source ~/.aliases
|
||||
|
Loading…
Reference in New Issue
Block a user