From c08069ee5cee3fa82ca9c7220326aef43a6bcf84 Mon Sep 17 00:00:00 2001 From: Michele Cereda Date: Fri, 29 Mar 2024 00:04:49 +0100 Subject: [PATCH] chore(kb/fish): add remark that function files require to be names as the single function in them --- knowledge base/fish.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/knowledge base/fish.md b/knowledge base/fish.md index 4c6b4b1..4031389 100644 --- a/knowledge base/fish.md +++ b/knowledge base/fish.md @@ -39,6 +39,11 @@ math 2 '+' 6 time pulumi pre --parallel (math 2 '*' (nproc)) ``` +For functions defined in files in `~/.config/fish/functions/` to be automatically available, the files need to: + +- Host **a single** function each. +- Be named as the function they host. + ## Configuration Shell configuration file: `~/.config/fish/config.fish`.