shell: translate history statistic aliases to fish
1 file changed, 4 insertions(+), 0 deletions(-)
changed files
M user/settings/fish.nix → user/settings/fish.nix
@@ -42,6 +42,10 @@ if test -n $KITTY_INSTALLATION_DIR set -x KITTY_SHELL_INTEGRATION no-cursor end ''; + shellAliases = { + hist-freq-lines = "history | sort | uniq -c | sort -gr | head -n100 | less"; + hist-freq-commands = "history | cut -d' ' -f 1 | sort | uniq -c | sort -gr | head -n100 | less"; + }; functions = { ds = "du -hd1 $argv[1] | sort -h"; };