From 034c00886af9ded731c2689f0bcc42f1381127c9 Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Sat, 19 Mar 2022 10:38:45 +0330 Subject: mostly pretty git logs --- bin/run_with_dmenu.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'bin/run_with_dmenu.sh') diff --git a/bin/run_with_dmenu.sh b/bin/run_with_dmenu.sh index c7bf9dd..a0dc7cf 100755 --- a/bin/run_with_dmenu.sh +++ b/bin/run_with_dmenu.sh @@ -1,7 +1,6 @@ #!/usr/bin/env zsh -# set -o pipefail -source ~/scripts/zshrc_stripped.sh -COMMAND=$(echo "" | dmenu -h 20 -p "Quick Term:") +. ~/scripts/zshrc_stripped.sh +COMMAND=$(echo "" | dmenu -i -l 20 -p "Quick Term:") RESULT=$(eval "$COMMAND") -echo $RESULT | dmenu -h 20 -p "Quick Term Out:" > /dev/null +echo $RESULT | dmenu -i -l 20 -p "Quick Term Out:" | xsel -ib -- cgit v1.2.3