From e58601bcc86ee2dac4166089c089e8aa742b2de6 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Mon, 11 Apr 2022 09:32:58 -0700 Subject: [PATCH] created regen_initramfs alias for mkinitcpio -P --- bashrc.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bashrc.txt b/bashrc.txt index cfc6e8f8..865883cc 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -174,7 +174,6 @@ export PS1='\[\033[01;36m\][\u@\h\[\033[01;37m\] \W\[\033[01;36m\]]\$\033[01;37m # Custom Bash Commands alias dmesg="doas dmesg -H" alias kernel="uname -r" -alias {grub_update,update_grub}="doas grub-mkconfig -o /boot/grub/grub.cfg" alias .="cd" alias home="xclear && cd /home/brian && clear && nf && history -c && history -w && hash -r" alias forget="xclear && cd /home/brian && clear && history -c && history -w && hash -r" @@ -362,6 +361,10 @@ alias gh='ddgr --gb \!gh "${1}"' alias red='ddgr \!r "${1}"' alias yt='ddgr --gb \!yt "${1}"' +# run the following two aliases every time you update the kernels and nvidiadkms +alias {grub_update,update_grub}="doas grub-mkconfig -o /boot/grub/grub.cfg" +alias regen_initramfs="doas mkinitcpio -P" + export EDITOR=nvim export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin" export GREP_COLORS='ms=01;36'