fixed some stuff and made it compatable with fisher

This commit is contained in:
Hannes
2026-07-05 19:32:51 +02:00
parent 3f7fe4eb1c
commit dd8cb18988
8 changed files with 152 additions and 42 deletions
+20
View File
@@ -0,0 +1,20 @@
# 1. Point to your custom Fisher repository
set -gx fisher_path ~/.config/fisher
if test -d $fisher_path
# 2. Append the custom folders to Fish's native search lists if they aren't already there
if not contains $fisher_path/functions $fish_function_path
set fish_function_path $fisher_path/functions $fish_function_path
end
if not contains $fisher_path/completions $fish_complete_path
set fish_complete_path $fisher_path/completions $fish_complete_path
end
# 3. Simulate the conf.d execution by natively sourcing third-party configuration files
for file in $fisher_path/conf.d/*.fish
if not test -s $file
continue
end
source $file
end
end