From 220e32d3e092588c453b48325efaab0901266d47 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 2 Jun 2021 22:51:17 -0700 Subject: Update .zshrc --- .zshrc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index 3afc303..8e91869 100644 --- a/.zshrc +++ b/.zshrc @@ -23,9 +23,12 @@ setopt hist_ignore_space # Breaks "eix ^asdf" # setopt extendedglob -bindkey "^A" beginning-of-line -bindkey "^E" end-of-line - +bindkey "^[[H" beginning-of-line +bindkey "^[[1~" beginning-of-line +bindkey "^[OH" beginning-of-line +bindkey "^[[F" end-of-line +bindkey "^[[4~" end-of-line +bindkey "^[OF" end-of-line bindkey ' ' magic-space # also do history expansion on space bindkey '^R' history-incremental-search-backward @@ -42,5 +45,12 @@ bindkey "\e[3~" delete-char export PATH=:$PATH:~/bin +if [ -f "${HOME}/.gpg-agent-info" ]; then + . "${HOME}/.gpg-agent-info" + export GPG_AGENT_INFO + export SSH_AUTH_SOCK +fi +export GPG_TTY=$(tty) + [ -e /etc/profile.d/autojump.sh ] && . /etc/profile.d/autojump.sh [ -e /etc/profile.d/vte-2.91.sh ] && . /etc/profile.d/vte-2.91.sh -- cgit v1.2.3