From 4fcf35e8f5413a74ec3b3a4923c7060ffc5969d1 Mon Sep 17 00:00:00 2001 From: Alexander Hess Date: Thu, 30 Nov 2023 13:38:34 +0100 Subject: [PATCH] Add alias to edit the $HISTFILE --- .config/shell/aliases.d/generic.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/shell/aliases.d/generic.sh b/.config/shell/aliases.d/generic.sh index 28ea6b4..1134d7f 100644 --- a/.config/shell/aliases.d/generic.sh +++ b/.config/shell/aliases.d/generic.sh @@ -36,6 +36,10 @@ alias cls='clear' alias help='man' +# Edit the $HISTFILE +alias HISTFILE="vi $HISTFILE" + + # Various one-line utilities alias datetime='date +"%Y-%m-%d %H:%M:%S %z (%Z)"' alias datetime-iso='date --iso-8601=seconds'