mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
zshrc: ensure GPG prompt is the current TTY
This commit is contained in:
parent
3ce722f60a
commit
0284b8765e
6
.zshrc
6
.zshrc
@ -17,6 +17,12 @@ HISTSIZE=100000
|
|||||||
SAVEHIST=100000
|
SAVEHIST=100000
|
||||||
setopt sharehistory histignoredups histignorespace histreduceblanks autocd autopushd extendedglob alwaystoend dvorak
|
setopt sharehistory histignoredups histignorespace histreduceblanks autocd autopushd extendedglob alwaystoend dvorak
|
||||||
|
|
||||||
|
# Only set tty if running interactively
|
||||||
|
if tty -s; then
|
||||||
|
# Resolve at shell runtime
|
||||||
|
export GPG_TTY="$(tty)"
|
||||||
|
fi
|
||||||
|
|
||||||
export WORDCHARS='*?_[]~=&;!#$%^(){}'
|
export WORDCHARS='*?_[]~=&;!#$%^(){}'
|
||||||
|
|
||||||
bindkey -e
|
bindkey -e
|
||||||
|
Loading…
x
Reference in New Issue
Block a user