Keep the original shellHook if it is set

This commit is contained in:
Martin Potier 2021-01-07 16:09:26 +02:00
parent a0e8ec2e2b
commit 40f42e95b6
No known key found for this signature in database
GPG key ID: D4DD957DBA4AD89E

View file

@ -27,4 +27,6 @@ sopsPGPHook() {
if [ -z "${shellHook-}" ]; then
shellHook=sopsPGPHook
else
shellHook="sopsPGPHook;${shellHook}"
fi