summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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