Skip to content

Commit

Permalink
fix(fish): gpg init inside distrobox
Browse files Browse the repository at this point in the history
  • Loading branch information
scottames committed Mar 29, 2024
1 parent 333f8ea commit eee025d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion home/private_dot_config/fish/conf.d/gpg.fish
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ if test -f "$HOME/.gnupg/gpg-agent.conf"
set -x GPG_TTY (tty)
if type -q gpg-connect-agent
# Refresh gpg-agent tty
gpg-connect-agent updatestartuptty /bye >/dev/null
if is_distrobox >/dev/null
distrobox-host-exec gpg-connect-agent updatestartuptty /bye >/dev/null
else
gpg-connect-agent updatestartuptty /bye >/dev/null
end
end
end

0 comments on commit eee025d

Please sign in to comment.