about summary refs log tree commit diff stats
path: root/ayu
diff options
context:
space:
mode:
authorNova li Gensokyo <novaburst@kalli.st>2021-12-05 15:03:02 +0000
committerNova li Gensokyo <novaburst@kalli.st>2021-12-05 15:03:02 +0000
commitaa20a2b4ad6326e2b05f27416779e901c6f9016a (patch)
tree17e0725596ac13ecc74b61bdbc86380db2f7e482 /ayu
parent5079a58c5b348aa26af06951d0b31cc25de9f843 (diff)
downloadayu-aa20a2b4ad6326e2b05f27416779e901c6f9016a.tar.gz
I don't love you any more since you ate my dog.
Diffstat (limited to 'ayu')
-rwxr-xr-xayu2
1 files changed, 1 insertions, 1 deletions
diff --git a/ayu b/ayu
index 4848531..606998f 100755
--- a/ayu
+++ b/ayu
@@ -48,7 +48,7 @@ usage() {
 
 view() {
 	if [ -f "${1%%.age}".age ];then
-		age --decrypt --identity=$ayu_key .age
+		age --decrypt --identity=$ayu_key "${1%%.age}".age
 	elif [ -d "${1:-.}" ];then
 		tree "${1:-.}"
 	else