dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b3c6b12110d977350b1dc2a507a5ddef0c35ad4a
parent cd1e4b116d02a21db7b80deb45644fa70094281c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 30 Sep 2020 11:06:56 +0200

search: fix interactive menu on linux

Diffstat:
M.local/bin/search | 2+-
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" ]; then + if [ -z "$TERM" ] || [ "$TERM" = linux ]; then c=$(printf '%s' "$targets" | dmenu -i) || exit 1 else c=$(printf '%s' "$targets" | fzy) || exit 1