🚚 Rename config.fish includes to .config.fish

Rename all config.fish includes to have a suffix of .config.fish to
better distinguish from installation files.
This commit is contained in:
Marley Rae 2024-01-29 16:59:02 -08:00
parent 869e40d276
commit 0bac958a0b
3 changed files with 4 additions and 4 deletions

View file

@ -23,20 +23,20 @@ if [ -e "$HOME/.local.env" ]
end end
# All fish dotfiles. # All fish dotfiles.
set config_files $DOT/**/*.fish set config_files $DOT/**/*.config.fish
# Load path files first. # Load path files first.
for file in (string match -r '^.*\/path.fish$' $config_files) for file in (string match -r '^.*\/path.config.fish$' $config_files)
source $file source $file
end end
# Load everything else, except completion. # Load everything else, except completion.
for file in (string match -v -r '^.*\/(path|completion|install)\.fish$' $config_files) for file in (string match -v -r '^.*\/(path|completion)\.config.fish$' $config_files)
source $file source $file
end end
# Load completions functions. # Load completions functions.
for file in (string match -r '^.*\/completion.fish$' $config_files) for file in (string match -r '^.*\/completion.config.fish$' $config_files)
source $file source $file
end end