From 34bc2ed1a40cc7877713e698ee1aca1e3897b67d Mon Sep 17 00:00:00 2001 From: "kujiu (@jackrum)" Date: Sat, 3 Feb 2024 14:21:36 +0100 Subject: [PATCH] Fix gpg pinentry error for git --- common/.config/fish/config.fish | 1 + desktop/.config/newsboat/config | 1 + 2 files changed, 2 insertions(+) diff --git a/common/.config/fish/config.fish b/common/.config/fish/config.fish index f473fcf..a3cdf92 100644 --- a/common/.config/fish/config.fish +++ b/common/.config/fish/config.fish @@ -12,6 +12,7 @@ set -x VISUAL "nvim" set -x EDITOR "lvim" set -x PAGER "nvimpager" set -x BROWSER "elinks" +set -x GPG_TTY $(tty) set -x PATH ~/.local/bin ~/.cargo/bin ~/go/bin /usr/sbin /sbin /usr/local/sbin /usr/local/bin /usr/bin /bin /usr/games set -x NOTMUCH_CONFIG ~/.config/notmuch/notmuch-config diff --git a/desktop/.config/newsboat/config b/desktop/.config/newsboat/config index c2fc9ea..56c856a 100644 --- a/desktop/.config/newsboat/config +++ b/desktop/.config/newsboat/config @@ -899,6 +899,7 @@ include "~/.config/newsboat/colors.conf" macro f set browser "firefox %u"; open-in-browser; set browser "TERM=tmux-direct elinks %u"; macro g set browser "offpunk %u"; open-in-browser; set browser "TERM=tmux-direct elinks %u"; +macro w set browser "wallabag add %u -a temp"; open-in-browser; set browser "TERM=tmux-direct elinks %u"; macro p set browser "echo %u >> ~/.local/share/newsboat/queue"; open-in-browser; set browser "TERM=tmux-direct elinks %u"; #### mark-as-read-on-hover