aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xfzf-url.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/fzf-url.sh b/fzf-url.sh
index b7e72ad..c779569 100755
--- a/fzf-url.sh
+++ b/fzf-url.sh
@@ -49,7 +49,7 @@ items=$(printf '%s\n' "${urls[@]}" "${wwws[@]}" "${ips[@]}" "${gits[@]}" "${extr
sort -u |
nl -w3 -s ' '
)
-[ -z "$items" ] && exit
+[ -z "$items" ] && tmux display 'tmux-fzf-url: no URLs found' && exit
mapfile -t chosen < <(fzf_filter <<< "$items" | awk '{print $2}')