mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
18 lines
646 B
Fish
18 lines
646 B
Fish
# Extracting user's functions – will be added later.
|
||
set user_function_path $fish_function_path[1]
|
||
set -e fish_function_path[1]
|
||
|
||
# Add all functions to fish_funtion_path.
|
||
set fish_function_path $FISH/functions/ $fish_function_path
|
||
|
||
# Add all defined plugins to fish_function_path.
|
||
for plugin in $FISH_PLUGINS
|
||
set fish_function_path $FISH/plugins/$plugin $fish_function_path
|
||
end
|
||
|
||
# Add user defined theme to fish_function_path.
|
||
set fish_function_path /Users/bpinto/.oh-my-fish/themes/$FISH_THEME $fish_function_path
|
||
|
||
# Re-adding user's functions so they have the highest priority
|
||
set fish_function_path $user_function_path $fish_function_path
|