aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'share/cfg/fish.nix')
-rw-r--r--share/cfg/fish.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/share/cfg/fish.nix b/share/cfg/fish.nix
new file mode 100644
index 0000000..ced92c1
--- /dev/null
+++ b/share/cfg/fish.nix
@@ -0,0 +1,10 @@
+{ ... }:
+{
+ programs.fish.functions = {
+ fish_command_not_found = "echo Did not find command $argv[1]";
+ __fish_command_not_found_handler = {
+ body = "fish_command_not_found";
+ onEvent = "fish_command_not_found";
+ };
+ };
+}