From a1e7e0bc3e2cf040d24580ecfe3f73899b358aa1 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 20 Aug 2023 06:52:48 +0200 Subject: fish: port functions and more aliases --- user/settings/fish.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'user/settings/fish.nix') diff --git a/user/settings/fish.nix b/user/settings/fish.nix index 5af965cd..6ddbe120 100644 --- a/user/settings/fish.nix +++ b/user/settings/fish.nix @@ -27,5 +27,12 @@ interactiveShellInit = '' bind \es __ghq_repository_search ''; + functions = { + ds = "du -hd1 $argv[1] | sort -h"; + }; + }; + xdg.configFile."fish/functions" = { + recursive = true; + source = ./fish/functions; }; } -- cgit 1.4.1