diff options
author | Aoi Koizumi <novaburst@kalli.st> | 2022-01-21 23:57:34 -0300 |
---|---|---|
committer | Aoi Koizumi <novaburst@kalli.st> | 2022-01-21 23:57:34 -0300 |
commit | bdc09eea7c2118bd0aabea76c0027c16997767a8 (patch) | |
tree | 48462d4bf9e6cc10ec911afdd483a1b42c68a061 /ayu | |
parent | f339d5c2d5a7d33f48d1856101ee8f166e2b63e8 (diff) | |
download | ayu-bdc09eea7c2118bd0aabea76c0027c16997767a8.tar.gz |
Breaking changes: former variable structure is not used any longer
Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
Diffstat (limited to 'ayu')
-rwxr-xr-x | ayu | 8 |
1 files changed, 4 insertions, 4 deletions
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} |