From 3356d250a447845fdda8bb52c87211bde52c0a85 Mon Sep 17 00:00:00 2001 From: tomit4 Date: Thu, 3 Mar 2022 13:34:11 -0800 Subject: [PATCH] added forget alias to history -c history -w hash -r --- bashrc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc.txt b/bashrc.txt index 869d7119..63a6f4eb 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -1,7 +1,7 @@ # # ~/.bashrc # -history -c && history -w +history -c && history -w && hash -r if [ $TERM == "xterm-256color" ] ; then 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 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" alias docs="cd ~/Documents" alias down="cd ~/Downloads" alias pics="cd ~/Pictures"