From 22753e380fac48db1db6d8ad6ae3505b5df0dc23 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Sun, 26 Feb 2023 12:09:08 -0500 Subject: [PATCH] Add history-clear-sensitive alias --- config.fish | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config.fish b/config.fish index 3dd764a..3ef701d 100644 --- a/config.fish +++ b/config.fish @@ -90,11 +90,10 @@ switch (id -u) # Everyone else end -# Alias 'addtopath' -> 'fish_add_path -P' for temporarily prepending a dir to your PATH -alias addtopath 'fish_add_path -P' - -# Common/generic aliases +# Useful aliases alias lsl 'ls -lh' +alias history-clear-sensitive 'history delete --contains token --contains pass --contains auth --contains key --contains login' +alias addtopath 'fish_add_path -P' ##################### # Greeting Function #