mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
Merge pull request #60 from jpotier/augment-shellhook
Keep the original shellHook if it is set, and run it after `sopsPGPHook`
This commit is contained in:
commit
4a7bf1c67c
1 changed files with 2 additions and 0 deletions
|
@ -27,4 +27,6 @@ sopsPGPHook() {
|
|||
|
||||
if [ -z "${shellHook-}" ]; then
|
||||
shellHook=sopsPGPHook
|
||||
else
|
||||
shellHook="sopsPGPHook;${shellHook}"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue