mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: repo-local secrets implemented for yubikey
This commit is contained in:
parent
609bb1597f
commit
85cbd5e1f6
11 changed files with 230 additions and 60 deletions
|
|
@ -11,7 +11,7 @@ fi
|
|||
file="$1"
|
||||
shift
|
||||
|
||||
basename="$file"
|
||||
basename="${file%".enc"}"
|
||||
# store path prefix or ./ if applicable
|
||||
[[ $file == "/nix/store/"* ]] && basename="${basename#*"-"}"
|
||||
[[ $file == "./"* ]] && basename="${basename#"./"}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue