mirror of
https://github.com/Mic92/sops-nix.git
synced 2025-03-16 05:28:15 +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
|
if [ -z "${shellHook-}" ]; then
|
||||||
shellHook=sopsPGPHook
|
shellHook=sopsPGPHook
|
||||||
|
else
|
||||||
|
shellHook="sopsPGPHook;${shellHook}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue