fix: GPG_TTY setting moved to zsh

This commit is contained in:
David JULIEN 2021-02-12 23:02:26 +01:00
parent f4cb7f182e
commit b2bfb330a7
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,9 @@
# Swy7ch' config for the Zoomer Shell # Swy7ch' config for the Zoomer Shell
# based on Luke Smith' work (lukesmith.xyz) # based on Luke Smith' work (lukesmith.xyz)
# Reset tty for gpg
export GPG_TTY=$(tty)
# Enable colors and change prompt: # Enable colors and change prompt:
autoload -U colors && colors autoload -U colors && colors
source $XDG_CONFIG_HOME/zsh/zsh_prompt source $XDG_CONFIG_HOME/zsh/zsh_prompt

View File

@ -24,7 +24,6 @@ export PATH="$HOME/.local/bin:$PATH"
## default programs ## default programs
export SUDO_ASKPASS="$HOME/.local/bin/dmenupass" export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"
export GPG_TTY=$(tty)
export GPG_ASKPASS="/usr/bin/pinentry-curses" export GPG_ASKPASS="/usr/bin/pinentry-curses"
export SUDO_EDITOR="nvim" export SUDO_EDITOR="nvim"
export EDITOR="nvim" export EDITOR="nvim"