forked from muhaaliss/mydotfiles
minor changes from bash_aliases
This commit is contained in:
parent
7a27c7cacd
commit
a531d6f4f5
1 changed files with 2 additions and 3 deletions
|
@ -20,15 +20,14 @@ alias sea='dnf search'
|
|||
|
||||
# History
|
||||
cl () {
|
||||
HISCLS='history -cw'
|
||||
HISFIL=$HOME/.bash_history
|
||||
if [ -f "$HISFIL" ]; then
|
||||
rm $HISFIL
|
||||
clear
|
||||
$HISCLS
|
||||
history -cw
|
||||
else
|
||||
clear
|
||||
$HISCLS
|
||||
history -cw
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue