From 6ddc25d4e189c30431703f602653b8bae861e4af Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 29 Aug 2024 20:54:34 -0700 Subject: some stuff --- home/ebisu/meta/system/shell/fish/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'home') diff --git a/home/ebisu/meta/system/shell/fish/default.nix b/home/ebisu/meta/system/shell/fish/default.nix index 94270e7..bcc0def 100644 --- a/home/ebisu/meta/system/shell/fish/default.nix +++ b/home/ebisu/meta/system/shell/fish/default.nix @@ -26,6 +26,10 @@ command nh $argv end end + + function nix-find + find $argv -type f -exec test ! -L {} \; -exec realpath {} \; | grep -v "^/nix/store" + end end set -l config_home (set -q XDG_CONFIG_HOME; and echo $XDG_CONFIG_HOME; or echo $HOME/.config) -- cgit v1.2.3