history variable name changed
This commit is contained in:
parent
8290208870
commit
3684c781a3
1 changed files with 4 additions and 4 deletions
|
@ -19,11 +19,11 @@ alias fpi="flatpak install"
|
|||
alias fpr="flatpak uninstall"
|
||||
alias fpl="flatpak list"
|
||||
|
||||
# History alias
|
||||
# History
|
||||
cl () {
|
||||
FILE=$HOME/.bash_history
|
||||
if [ -f "$FILE" ]; then
|
||||
rm $FILE
|
||||
HISFIL=$HOME/.bash_history
|
||||
if [ -f "$HISFIL" ]; then
|
||||
rm $HISFIL
|
||||
clear
|
||||
history -cw
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue