home: add shell alias to show frequent comma runs

This commit is contained in:
NullBite 2025-01-09 01:20:05 -05:00
parent 2a20c799a5
commit 45b2e7ff0f
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -42,6 +42,10 @@ in
icat = "kitten icat";
srun = "systemd-run";
urun = "systemd-run --user";
# this lets me find commands that i run with comma very frequently so i
# can install them
comma-frequent = "history | sed 's:^ \+[0-9]\+ \+::' | grep '^,' | cut -d' ' -f2- | sed 's:^\(-[^ ]\+ \?\)\+::g' | grep . | cut -d' ' -f1 | sort | uniq -c | sort -g";
};
programs.fzf.enable = lib.mkDefault true;
programs.fzf.enableZshIntegration = lib.mkDefault true;