Add prefill of output filename
This cuts off the '.age' from the input, then lets you choose the filename based on that
This commit is contained in:
parent
67d9a2c8e7
commit
b80e2b54ca
1 changed files with 1 additions and 0 deletions
|
@ -34,3 +34,4 @@ wl-paste | rage -d -i - "<input_file>" > "<output_file>"
|
|||
$ sapphic_public_age_key: echo age17r37eg8lmvsklve0rdajsts2rgca4j5twdmcglh6qufxj7qmzv0qywulhg
|
||||
|
||||
$ input_file: find . -maxdepth 1 -type f | gum choose
|
||||
$ output_file: echo "<input_file>" | sed -e 's/\.age *$//' | gum input --header="Save file as.." --value=""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue