summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2015-08-17 22:04:14 -0700
committerThibaut Horel <thibaut.horel@gmail.com>2015-08-17 22:04:14 -0700
commit92b76a9bdb581118fa00c6718f8692f7f4876087 (patch)
tree2709b4acf774ded08c6bbded1a22b85e902c71ef
parente5b3dca78e8e91eea5efeb43c5eb73d288d80267 (diff)
downloaddotfiles-92b76a9bdb581118fa00c6718f8692f7f4876087.tar.gz
[zsh] history search and gpg agent
-rw-r--r--.zshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index df86e60..a75baf7 100644
--- a/.zshrc
+++ b/.zshrc
@@ -46,3 +46,10 @@ man() {
man "$@"
}
+if [ -f "${HOME}/.gpg-agent-info" ]; then
+ . "${HOME}/.gpg-agent-info"
+ export GPG_AGENT_INFO
+ export SSH_AUTH_SOCK
+fi
+
+bindkey '^R' history-incremental-search-backward