diff --git a/zprofile b/zprofile new file mode 100644 index 0000000..ecf2ba3 --- /dev/null +++ b/zprofile @@ -0,0 +1,2 @@ +GPG_TTY=$(tty) +export GPG_TTY diff --git a/zshrc b/zshrc index 8175f92..379cca0 100644 --- a/zshrc +++ b/zshrc @@ -187,8 +187,6 @@ cdpath=( $HOME/src ) -export GPG_TTY=$(tty) - function __maybesource() { if [[ -f "${1}" ]]; then if [[ "${2}" == silent ]]; then @@ -256,7 +254,7 @@ if kitty --version &>/dev/null; then kitty + complete setup zsh | source /dev/stdin fi -true - # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +true