From 9e85958054b804e282fa2948a6059fc99429adb2 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Thu, 9 Mar 2023 22:36:31 +0100 Subject: keep history of prompts in /tmp/damsk_history --- bin/guiscripts/dmask | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/guiscripts/dmask b/bin/guiscripts/dmask index 6772854..dd52c5a 100755 --- a/bin/guiscripts/dmask +++ b/bin/guiscripts/dmask @@ -4,7 +4,7 @@ which dmenu Xdialog ask > /dev/null || exit 1 -prompt="$(echo -n | dmenu -p "prompt:" | tr '"' "'")" +prompt="$(echo -n | dmenu -p "prompt:" | tr '"' "'" | tee -a /tmp/dmask_history)" test -z "$prompt" && exit 1 answer="$(ask "$prompt" | tr '"' "'" | fold -w 80 -s)" -- cgit v1.2.3