2012-07-25 00:16:18 +00:00
|
|
|
|
# Extracting user's functions – will be added later.
|
|
|
|
|
set user_function_path $fish_function_path[1]
|
|
|
|
|
set -e fish_function_path[1]
|
|
|
|
|
|
2012-07-24 03:59:50 +00:00
|
|
|
|
# Add all functions to fish_funtion_path.
|
|
|
|
|
set fish_function_path $FISH/functions/ $fish_function_path
|
|
|
|
|
|
2012-07-23 23:33:02 +00:00
|
|
|
|
# Add all defined plugins to fish_function_path.
|
|
|
|
|
for plugin in $FISH_PLUGINS
|
2012-07-24 01:31:28 +00:00
|
|
|
|
set fish_function_path $FISH/plugins/$plugin $fish_function_path
|
2012-07-23 23:33:02 +00:00
|
|
|
|
end
|
|
|
|
|
|
2012-07-25 00:16:18 +00:00
|
|
|
|
# Add user defined theme to fish_function_path.
|
2012-07-23 23:33:02 +00:00
|
|
|
|
set fish_function_path /Users/bpinto/.oh-my-fish/themes/$FISH_THEME $fish_function_path
|
2012-07-25 00:16:18 +00:00
|
|
|
|
|
|
|
|
|
# Re-adding user's functions so they have the highest priority
|
|
|
|
|
set fish_function_path $user_function_path $fish_function_path
|