summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-08-29 20:54:34 -0700
committerFuwn <[email protected]>2024-08-29 20:54:34 -0700
commit6ddc25d4e189c30431703f602653b8bae861e4af (patch)
tree979cc4d790c3ce8895471d008d61c3e9645acec4 /home
parentfirewall (diff)
downloadnixos-config-6ddc25d4e189c30431703f602653b8bae861e4af.tar.xz
nixos-config-6ddc25d4e189c30431703f602653b8bae861e4af.zip
some stuff
Diffstat (limited to 'home')
-rw-r--r--home/ebisu/meta/system/shell/fish/default.nix4
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)