move GPG_TTY to fish config

This commit is contained in:
2025-10-30 13:34:55 +01:00
parent a50922ff21
commit be439df336
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,5 @@ command -v nvim >/dev/null 2>&1 && {
export VISUAL=nvim
}
export GPG_TTY=$(tty)
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"

View File

@@ -8,4 +8,6 @@ fish_add_path $HOME/go/bin
if type -q bat
set -x -g MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x -g MANROFFOPT -c
end
end
set -x -g GPG_TTY $(tty)