summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-16 22:19:24 -0400
committerseth <[email protected]>2023-09-16 22:19:24 -0400
commit2d4ea4c229edd7968a1cede81b52aa2b29d54e48 (patch)
tree1c02b19caacc3e4736bbbc10ccbdb1e579c70bcd /users
parent5c84971b6314276c05eec6d35b41f504639fa9b0 (diff)
seth/fish: add nixgc abbr
Diffstat (limited to 'users')
-rw-r--r--users/seth/shell/fish.nix4
1 files changed, 4 insertions, 0 deletions
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;