scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

commit fe67e73ffb52abc298d232f4df59fa30c11e36e9
parent 66b9a19dc568d8f40df76e9382bb64f913a38563
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Mon, 23 Jan 2023 18:23:43 +0100

Fixed program choice prompt string

Diffstat:
Mopen-file | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/open-file b/open-file @@ -69,9 +69,9 @@ openfile() { ;; *) if [ "$menu" = dmenu ]; then - menuprompt='-p "How to open $f? "' + menuprompt="-p \"How to open $f? \"" else - menuprompt='--prompt="How to open $f? "' + menuprompt="--prompt=\"How to open $f? \"" fi prog=$(dmenu_path | $menu "$menuprompt") ;;