commit 20e9303def4382693ee5ee0e781f7c3ce416a0c3
parent 72e15005e9fdedbdeb53b009965fd33cf8d26ba3
Author: Chris Down <chris@chrisdown.name>
Date: Sun, 6 Sep 2015 13:58:21 +0100
Do not deduplicate lines before sending to dmenu
I don't remember why I added this in 0418bf2 (sigh...), but it seems
unnecessary.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clipmenu b/clipmenu
@@ -29,7 +29,7 @@ for (( i=${#files[@]}-1; i>=0; i-- )); do
done
chosen_line=$(
- printf '%s\n' "${ordered_selections[@]}" | awk '!x[$0]++' | dmenu -l 8 "$@"
+ printf '%s\n' "${ordered_selections[@]}" | dmenu -l 8 "$@"
)
[[ $chosen_line ]] || exit 1