diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/ebisu/meta/system/shell/fish/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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) |