added update_grub alias and added basic grub config

This commit is contained in:
tomit4 2022-03-07 13:40:30 -08:00
parent 5a00e45a0d
commit eb6f2f4e75
3 changed files with 55 additions and 1 deletions

View file

@ -173,6 +173,7 @@ export PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\033[01;37m
# Custom Bash Commands
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 && clear && history -c && history -w && hash -r"
@ -349,7 +350,6 @@ export PATH="$PATH:$GOPATH/bin:/home/brian/scripts:/home/brian/.local/bin"
export GREP_COLORS='ms=01;33'
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# BEGIN_KITTY_SHELL_INTEGRATION
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
# END_KITTY_SHELL_INTEGRATION