added forget alias to history -c history -w hash -r

This commit is contained in:
tomit4 2022-03-03 13:34:11 -08:00
parent 5f142f2de3
commit 3356d250a4

View file

@ -1,7 +1,7 @@
# #
# ~/.bashrc # ~/.bashrc
# #
history -c && history -w history -c && history -w && hash -r
if [ $TERM == "xterm-256color" ] ; then if [ $TERM == "xterm-256color" ] ; then
neofetch neofetch
@ -174,6 +174,7 @@ export PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\033[01;37m
# Custom Bash Commands # Custom Bash Commands
alias .="cd" alias .="cd"
alias home="xclear && cd /home/brian && clear && nf && history -c && history -w && hash -r" alias home="xclear && cd /home/brian && clear && nf && history -c && history -w && hash -r"
alias forget="xclear && clear && history -c && history -w && hash -r"
alias docs="cd ~/Documents" alias docs="cd ~/Documents"
alias down="cd ~/Downloads" alias down="cd ~/Downloads"
alias pics="cd ~/Pictures" alias pics="cd ~/Pictures"