From 2d4ea4c229edd7968a1cede81b52aa2b29d54e48 Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 16 Sep 2023 22:19:24 -0400 Subject: seth/fish: add nixgc abbr --- users/seth/shell/fish.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'users/seth/shell/fish.nix') diff --git a/users/seth/shell/fish.nix b/users/seth/shell/fish.nix index feb12b3..7488b40 100644 --- a/users/seth/shell/fish.nix +++ b/users/seth/shell/fish.nix @@ -35,6 +35,10 @@ last_history_item.body = "echo $history[1]"; }; + shellAbbrs = { + nixgc = "sudo nix-collect-garbage -d && nix-collect-garbage -d"; + }; + plugins = let mkFishPlugins = builtins.map (plugin: { name = plugin; -- cgit v1.2.3