move GPG_TTY to fish config
This commit is contained in:
@@ -10,7 +10,5 @@ command -v nvim >/dev/null 2>&1 && {
|
|||||||
export VISUAL=nvim
|
export VISUAL=nvim
|
||||||
}
|
}
|
||||||
|
|
||||||
export GPG_TTY=$(tty)
|
|
||||||
|
|
||||||
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
|
[ -f "$HOME/.profile" ] && . "$HOME/.profile"
|
||||||
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
[ -f "$HOME/.bashrc" ] && . "$HOME/.bashrc"
|
||||||
|
|||||||
@@ -8,4 +8,6 @@ fish_add_path $HOME/go/bin
|
|||||||
if type -q bat
|
if type -q bat
|
||||||
set -x -g MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
set -x -g MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||||
set -x -g MANROFFOPT -c
|
set -x -g MANROFFOPT -c
|
||||||
end
|
end
|
||||||
|
|
||||||
|
set -x -g GPG_TTY $(tty)
|
||||||
Reference in New Issue
Block a user