Remove unnecessary use of uniq in Mercurial completion.

Fish already takes care of duplicate completions.
This commit is contained in:
Daniel Matz 2014-02-22 14:18:58 -06:00 committed by ridiculousfish
parent daaed863da
commit bd707b4a96

View file

@ -238,7 +238,7 @@ function __hg_merge_tools
for tool in internal:dump internal:fail internal:local internal:merge internal:other internal:prompt
printf "$tool\tmerge tool\n"
end
__hg showconfig merge-tools | cut -d . -f 2 | uniq | xargs printf "%s\tmerge tool\n"
__hg showconfig merge-tools | cut -d . -f 2 | xargs printf "%s\tmerge tool\n"
end
function __hg_sources