From 7e7b50cd74afb5623cb38f52266f4484b38a969d Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Sat, 22 Jun 2013 17:15:43 +0200 Subject: Put user paths at beginning --- share/config.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/config.fish') diff --git a/share/config.fish b/share/config.fish index 553aab5d..056fd34f 100644 --- a/share/config.fish +++ b/share/config.fish @@ -69,9 +69,9 @@ function __fish_reconstruct_path -d "Update PATH when fish_user_paths changes" - end set -e __fish_added_user_paths - for x in $fish_user_paths + for x in $fish_user_paths[-1..1] if not contains $x $local_path - set local_path $local_path $x + set local_path $x $local_path set -g __fish_added_user_paths $__fish_added_user_paths $x end end -- cgit v1.2.3