commit 594af87e68e590126f2f83ca66fa8a9223a80c22
parent b7d5365e74e69917c90c3c6fc7e49675d0de7f4e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 19 Jan 2021 11:46:42 +0100
search: fix behavior with xdm
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/search b/.local/bin/search
@@ -10,7 +10,7 @@ if [ $# -lt 1 ]; then
cat "$HOME"/doc/bookmark.txt;
dmenu_path)"
- if [ -z "$TERM" ] || [ "$TERM" = linux ]; then
+ if [ -z "$TERM" -o "$TERM" = linux -o "$TERM" = dumb ]; then
c=$(printf '%s' "$targets" | dmenu -i) || exit 1
else
c=$(printf '%s' "$targets" | fzy) || exit 1