]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
keychain: add `--absolute` opt to avoid subdirectory (#221)
authorDerrick Liu <github-notifications@derrickliu.com>
Thu, 16 Feb 2023 08:10:50 +0000 (08:10 +0000)
committerGitHub <noreply@github.com>
Thu, 16 Feb 2023 08:10:50 +0000 (09:10 +0100)
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.

programs/keychain.json

index b844307313efb6339c9eef2b33f292506286f8fa..ca68e6e04548c780313209a957faba3ef2eca731 100644 (file)
@@ -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
+}