diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-19 07:08:45 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-19 07:08:45 +0000 |
commit | 034c00886af9ded731c2689f0bcc42f1381127c9 (patch) | |
tree | 2adbca62e94a67e540bc86ba0b9970c830166d61 /bin/run_with_dmenu.sh | |
parent | update (diff) | |
download | scripts-034c00886af9ded731c2689f0bcc42f1381127c9.tar.gz scripts-034c00886af9ded731c2689f0bcc42f1381127c9.zip |
mostly pretty git logs
Diffstat (limited to 'bin/run_with_dmenu.sh')
-rwxr-xr-x | bin/run_with_dmenu.sh | 7 |
1 files changed, 3 insertions, 4 deletions
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 |