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:
parent
363797f8a9
commit
5eaa0072ff
1 changed files with 9 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue