From: Derrick Liu Date: Thu, 16 Feb 2023 08:10:50 +0000 (+0000) Subject: keychain: add `--absolute` opt to avoid subdirectory (#221) X-Git-Tag: v0.2.0.2~99 X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/61b252ac296bf5bd69ab7d26d04e4fbf66a54eb3 keychain: add `--absolute` opt to avoid subdirectory (#221) For backwards compatibility, if the user provides `--dir` to keychain, it will create a `.keychain` folder in that directory. Adding the [`--absolute`](https://man.archlinux.org/man/keychain.1#absolute) opt will encourage keychain to use the directory as is. --- diff --git a/programs/keychain.json b/programs/keychain.json index b844307..ca68e6e 100644 --- a/programs/keychain.json +++ b/programs/keychain.json @@ -3,8 +3,8 @@ { "path": "$HOME/.keychain", "movable": true, - "help": "Alias keychain to use a custom runtime dir location:\n\n```bash\nkeychain --dir \"$XDG_RUNTIME_DIR\"/keychain\n```\n" + "help": "Alias keychain to use a custom runtime dir location:\n\n```bash\nkeychain --dir \"$XDG_RUNTIME_DIR\"/keychain --absolute\n```\n" } ], "name": "keychain" -} \ No newline at end of file +}