From 4bc176ea42053930cfb72d4dc3b3b9d00f639c0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Tue, 17 May 2022 22:34:30 +0200 Subject: [PATCH] fix(unicodmenu): append history --- packages/scripts/unicodmenu.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scripts/unicodmenu.nix b/packages/scripts/unicodmenu.nix index 0d1fc85..40cb7e2 100644 --- a/packages/scripts/unicodmenu.nix +++ b/packages/scripts/unicodmenu.nix @@ -77,7 +77,7 @@ in writers.writeDashBin "unicodmenu" '' history_file=$HOME/.cache/unicodmenu PATH=${lib.makeBinPath [coreutils dmenu gnused libnotify xclip xdotool]} - chosen=$(cat "$history_file" ${kaomoji-file} ${unicode-file} | dmenu -p unicode -i -l 10 | tee "$history_file" | sed "s/ .*//") + chosen=$(cat "$history_file" ${kaomoji-file} ${unicode-file} | dmenu -p unicode -i -l 10 | tee --append "$history_file" | sed "s/ .*//") [ "$chosen" != "" ] || exit