1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00

gpg-agent: restore empty newlines after commands

This commit is contained in:
pancho horrillo 2025-11-02 07:37:46 +01:00 committed by Austin Horstman
parent 363797f8a9
commit 5eaa0072ff

View file

@ -25,17 +25,23 @@ let
GPG_TTY="$(tty)"
export GPG_TTY
''
+ optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null";
+ optionalString cfg.enableSshSupport ''
${gpgSshSupportStr} > /dev/null
'';
gpgZshInitStr = ''
export GPG_TTY=$TTY
''
+ optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null";
+ optionalString cfg.enableSshSupport ''
${gpgSshSupportStr} > /dev/null
'';
gpgFishInitStr = ''
set -gx GPG_TTY (tty)
''
+ optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null";
+ optionalString cfg.enableSshSupport ''
${gpgSshSupportStr} > /dev/null
'';
gpgNushellInitStr = ''
$env.GPG_TTY = (tty)