Commit 05b4207a authored by Bruno Pinto's avatar Bruno Pinto

automatically loaded files should not have the suffix '.fish' otherwise fish...

automatically loaded files should not have the suffix '.fish' otherwise fish thinks they are functions
parent edff7dea
......@@ -30,7 +30,7 @@ end
function _fish_source_plugin_load_file
set -l plugin $argv[1]
set -l load_file_path "plugins/$plugin/$plugin.load.fish"
set -l load_file_path "plugins/$plugin/$plugin.load"
if test -e $fish_path/$load_file_path
. $fish_path/$load_file_path
......@@ -69,7 +69,7 @@ end
set fish_function_path $fish_path/themes/$fish_theme $fish_function_path
# Source all files inside custom folder
for config_file in $fish_custom/*.load.fish
for config_file in $fish_custom/*.load
. $config_file
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment