gpg: export GPG_TTY for fish (#1846)

This commit is contained in:
Nicolas Berbiche 2021-03-03 15:59:13 -05:00 committed by GitHub
parent e72e241d7a
commit ddee030dc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -186,6 +186,9 @@ in
programs.bash.initExtra = gpgInitStr;
programs.zsh.initExtra = gpgInitStr;
programs.fish.interactiveShellInit = ''
set -gx GPG_TTY (tty)
'';
}
(mkIf (cfg.sshKeys != null) {