From bd707b4a96f462283aad28aa86f6d2c1a5c11956 Mon Sep 17 00:00:00 2001 From: Daniel Matz Date: Sat, 22 Feb 2014 14:18:58 -0600 Subject: [PATCH] Remove unnecessary use of uniq in Mercurial completion. Fish already takes care of duplicate completions. --- share/completions/hg.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/hg.fish b/share/completions/hg.fish index f55098f15..08a4808fa 100644 --- a/share/completions/hg.fish +++ b/share/completions/hg.fish @@ -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