From 3684c781a32ffe63a78a790ef0bba2c3c7d82b7c Mon Sep 17 00:00:00 2001 From: Muha Aliss Date: Thu, 28 Mar 2024 00:20:56 +0300 Subject: [PATCH] history variable name changed --- bash_aliases | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bash_aliases b/bash_aliases index 8b63e45..163cbc1 100755 --- a/bash_aliases +++ b/bash_aliases @@ -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