From b80e2b54ca4ea6c0a1bf90566082a82ec0dcf506 Mon Sep 17 00:00:00 2001 From: Lily Hannah Date: Sat, 26 Apr 2025 18:33:38 -0400 Subject: [PATCH] Add prefill of output filename This cuts off the '.age' from the input, then lets you choose the filename based on that --- encrypting/rage.cheat | 1 + 1 file changed, 1 insertion(+) diff --git a/encrypting/rage.cheat b/encrypting/rage.cheat index 2172d23..57587c3 100644 --- a/encrypting/rage.cheat +++ b/encrypting/rage.cheat @@ -34,3 +34,4 @@ wl-paste | rage -d -i - "" > "" $ sapphic_public_age_key: echo age17r37eg8lmvsklve0rdajsts2rgca4j5twdmcglh6qufxj7qmzv0qywulhg $ input_file: find . -maxdepth 1 -type f | gum choose +$ output_file: echo "" | sed -e 's/\.age *$//' | gum input --header="Save file as.." --value=""