From 25ef546fc73f9c509e30b8c18b25ab5c10db5230 Mon Sep 17 00:00:00 2001 From: Bruno Pinto Date: Tue, 26 May 2015 14:10:58 +0100 Subject: [PATCH] simplification: do not prioritize '.config/fish/functions' --- oh-my-fish.fish | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/oh-my-fish.fish b/oh-my-fish.fish index 71058fd..7fb33fd 100644 --- a/oh-my-fish.fish +++ b/oh-my-fish.fish @@ -4,18 +4,11 @@ if not set -q fish_custom set -g fish_custom $fish_path/custom end -# Extract user defined functions from path and prepend later to -# avoid collisions with oh-my-fish internal functions and allow -# users to override/customize plugins, themes, etc. -set user_function_path $fish_function_path[1] -set -e fish_function_path[1] - # Add functions defined in oh-my-fish/functions to the path. if not contains $fish_path/functions/ $fish_function_path set fish_function_path $fish_path/functions/ $fish_function_path end - # Add imported plugins, completions and themes. Customize imported # commands via the $fish_path/custom directory, for example create # a directory under $fish_path/custom/themes with the same name as @@ -28,8 +21,5 @@ for load in $fish_custom/*.load . $load end -# Prepend extracted user functions so they have the highest priority. -set fish_function_path $user_function_path $fish_function_path - # Make sure to exit with $status of 1 when reloading the framework. or true