mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46: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)"
|
GPG_TTY="$(tty)"
|
||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
''
|
''
|
||||||
+ optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null";
|
+ optionalString cfg.enableSshSupport ''
|
||||||
|
${gpgSshSupportStr} > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
gpgZshInitStr = ''
|
gpgZshInitStr = ''
|
||||||
export GPG_TTY=$TTY
|
export GPG_TTY=$TTY
|
||||||
''
|
''
|
||||||
+ optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null";
|
+ optionalString cfg.enableSshSupport ''
|
||||||
|
${gpgSshSupportStr} > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
gpgFishInitStr = ''
|
gpgFishInitStr = ''
|
||||||
set -gx GPG_TTY (tty)
|
set -gx GPG_TTY (tty)
|
||||||
''
|
''
|
||||||
+ optionalString cfg.enableSshSupport "${gpgSshSupportStr} > /dev/null";
|
+ optionalString cfg.enableSshSupport ''
|
||||||
|
${gpgSshSupportStr} > /dev/null
|
||||||
|
'';
|
||||||
|
|
||||||
gpgNushellInitStr = ''
|
gpgNushellInitStr = ''
|
||||||
$env.GPG_TTY = (tty)
|
$env.GPG_TTY = (tty)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue