From 839dc6e9149a948d5c7b057fbdecd6218ee359b8 Mon Sep 17 00:00:00 2001 From: Sergii Tykhomyrov Date: Sun, 1 Dec 2024 10:47:19 +0100 Subject: Move GnuPG settings out of zshrc --- zsh/dot-zshrc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc index b830828..62e4777 100644 --- a/zsh/dot-zshrc +++ b/zsh/dot-zshrc @@ -1,15 +1,16 @@ PS1="%% " RPS1="[%F{blue}%B%~%b%f]" +# history settings HISTFILE="$HOME/.zsh_history" HISTSIZE=10000 SAVEHIST=10000 - setopt hist_ignore_all_dups setopt hist_find_no_dups + +# shell options setopt transientrprompt setopt nomatch - bindkey -e case $TERM in @@ -22,8 +23,3 @@ alias ls="ls --color" export EDITOR="nvim" export PAGER="less" - -export GPG_TTY=$(tty) -export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) -gpgconf --launch gpg-agent -echo UPDATESTARTUPTTY | gpg-connect-agent > /dev/null -- cgit v1.2.3