-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Johannes Metzner
committed
Mar 21, 2024
1 parent
0f00736
commit ae5d1a2
Showing
3 changed files
with
22 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{{- $email := promptString "Used Email" -}} | ||
[data] | ||
email = {{ $email | quote }} | ||
[hooks.read-source-state.pre] | ||
command = ".local/share/chezmoi/.install-password-manager.sh" | ||
[keeper] | ||
args = ["--config", "{{ .chezmoi.homeDir }}/config.json"] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
set -eufo pipefail | ||
# exit immediately if password-manager-binary is already in $PATH | ||
type ~/.local/bin/keeper >/dev/null 2>&1 && exit | ||
|
||
case "$(uname -s)" in | ||
Darwin) | ||
# commands to install password-manager-binary on Darwin | ||
;; | ||
Linux) | ||
# commands to install password-manager-binary on Linux | ||
pip3 install keepercommander | ||
;; | ||
*) | ||
echo "unsupported OS" | ||
exit 1 | ||
;; | ||
esac | ||
|
||
|