From 13735084caa94892bba79bdb440556bbebfb4d53 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 25 Aug 2023 05:55:57 +0200 Subject: fish: fix nix evaluation error --- user/settings/shell.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user/settings/shell.nix') diff --git a/user/settings/shell.nix b/user/settings/shell.nix index cc827427..33332294 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -35,8 +35,8 @@ in https = "xh --default-scheme https"; xhs = "xh --default-scheme https"; - hist-freq-lines = "fc -l -10000 | cut -d' ' -f4- | sort | uniq -c | sort -gr | head -n100 | less"; - hist-freq-commands = "fc -l -10000 | cut -d' ' -f4 | sort | uniq -c | sort -gr | head -n100 | less"; + hist-freq-lines = lib.mkDefault "fc -l -10000 | cut -d' ' -f4- | sort | uniq -c | sort -gr | head -n100 | less"; + hist-freq-commands = lib.mkDefault "fc -l -10000 | cut -d' ' -f4 | sort | uniq -c | sort -gr | head -n100 | less"; wprop = "xprop | egrep '^WM_(CLASS|NAME|WINDOW_ROLE|TYPE)'"; # Enable the following commands to support aliases. -- cgit 1.4.1