From bdc09eea7c2118bd0aabea76c0027c16997767a8 Mon Sep 17 00:00:00 2001 From: Aoi Koizumi Date: Fri, 21 Jan 2022 23:57:34 -0300 Subject: Breaking changes: former variable structure is not used any longer Signed-off-by: Aoi Koizumi --- ayu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ayu') diff --git a/ayu b/ayu index bc10594..719f037 100755 --- a/ayu +++ b/ayu @@ -3,14 +3,14 @@ # ayu(1) - an actually boring password manager, which uses age(1) as backend. # Path to the program's directory -ayu_dir="$HOME/.config/ayu" +ayu_dir="${ayu_dir:-~/.config/ayu}" # Path to the password store -ayu_store="$HOME/.ayu" +ayu_store="${ayu_store:-/.ayu}" # Path to the age(1) keys -ayu_key="$ayu_dir/age.key" -ayu_pub="$ayu_store/.age-id" +ayu_key="${ayu_key:-${ayu_dir}/sec.age}" +ayu_pub="${ayu_pub:-${ayu_dir}/pub.age}" EDITOR=${EDITOR:-vi} -- cgit 1.4.1-2-gfad0