mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
user functions have the highest priority
This commit is contained in:
parent
a89e87d475
commit
82cd7867b0
@ -1,3 +1,7 @@
|
||||
# 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
|
||||
|
||||
@ -6,5 +10,8 @@ for plugin in $FISH_PLUGINS
|
||||
set fish_function_path $FISH/plugins/$plugin $fish_function_path
|
||||
end
|
||||
|
||||
# Add theme to fish_function_path.
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user