From d0380987953314b11236c59b775d4a48f377cfcf Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Sun, 20 Feb 2022 00:06:09 +0000 Subject: [PATCH] Fixed some minor "errors" Doesn't seem to have affected functionality but some neatness added since ZDOTDIR is defined. also fixed minor typo --- zshrc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/zshrc b/zshrc index b15a269..a9e5acc 100755 --- a/zshrc +++ b/zshrc @@ -19,13 +19,13 @@ zmodload zsh/complist ## Source Other files source $HOME/.profile -source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/aliases -source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/dir_aliases -source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/prompt -source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/keyboard +source ${ZDOTDIR}/aliases +source ${ZDOTDIR}/dir_aliases +source ${ZDOTDIR}/prompt +source ${ZDOTDIR}/keyboard ## Source Functions -source ${XDG_CONFIG_HOME:-$HOME/.config}/zsh/functions/* +source ${ZDOTDIR}/functions/* ## Set option setopt emacs ## Emacs style keybinds @@ -60,10 +60,9 @@ zle -N edit-command-line bindkey "^X^E" edit-command-line ## Enable gpg-agent support - export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) gpgconf --launch gpg-agent -gpg-gpg-connect-agent /bye +gpg-connect-agent /bye export GPG_TTY=$(tty) ## Load external stuff