summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2021-06-02 22:51:17 -0700
committerMatt Turner <mattst88@gmail.com>2021-06-02 22:51:17 -0700
commit220e32d3e092588c453b48325efaab0901266d47 (patch)
tree792eee5bd3bc41c84e9d70509444f1b3e8196269
parenta8c88f05c1e59413686701b16d67d1b486c86cf1 (diff)
Update .zshrc
-rw-r--r--.zshrc16
1 files 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