aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2022-02-24 15:36:55 +0100
committervg <vgm+dev@devys.org>2022-02-24 15:36:55 +0100
commitafd849652d67a864491561b33f330c51aff97f53 (patch)
tree8e6d3c85013e33091c3fde562caa648b31cf4e0e
parent1241fc5682850fe41812cad81c76541674ee305b (diff)
downloadfork-tmux-fzf-url-afd849652d67a864491561b33f330c51aff97f53.tar.gz
fork-tmux-fzf-url-afd849652d67a864491561b33f330c51aff97f53.tar.bz2
fork-tmux-fzf-url-afd849652d67a864491561b33f330c51aff97f53.zip
remove sort, I care less about redundancy than original order
-rwxr-xr-xfzf-url.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/fzf-url.sh b/fzf-url.sh
index c779569..0b2f66a 100755
--- a/fzf-url.sh
+++ b/fzf-url.sh
@@ -46,7 +46,6 @@ fi
items=$(printf '%s\n' "${urls[@]}" "${wwws[@]}" "${ips[@]}" "${gits[@]}" "${extras[@]}" |
grep -v '^$' |
- sort -u |
nl -w3 -s ' '
)
[ -z "$items" ] && tmux display 'tmux-fzf-url: no URLs found' && exit