Put user paths at beginning

This commit is contained in:
Konrad Borowski
2013-06-22 17:15:43 +02:00
parent 0b8f7d4fe7
commit 7e7b50cd74

View File

@@ -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