aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/.zshrc
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-12-12 14:11:37 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-12-12 14:11:37 +0000
commit96f745fc011512e38892105f40b1d87b6cd62178 (patch)
tree110b1016cc84474860145a3dc62036306c24774c /zsh/.zshrc
parent0cf965636441df355737f5ae3734b5fdc60f6ccd (diff)
downloaddotfiles-96f745fc011512e38892105f40b1d87b6cd62178.tar.gz
dotfiles-96f745fc011512e38892105f40b1d87b6cd62178.zip
Make zsh nicer
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r--zsh/.zshrc8
1 files changed, 7 insertions, 1 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 5cd69b5..dbd929c 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -7,7 +7,7 @@ bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
-zstyle ':completion:*' completer _expand _complete _ignored _approximate
+zstyle ':completion:*' completer _expand _complete _correct _approximate
zstyle ':completion:*' list-colors ''
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
zstyle ':completion:*' max-errors 10
@@ -25,3 +25,9 @@ source $HOME/.zsh/export.zsh
source $HOME/.zsh/minimal.zsh
source $HOME/.zsh/function.zsh
source $HOME/.zsh/startup.zsh
+source $HOME/.zsh/zsh-history-substring-search/zsh-history-substring-search.zsh
+source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
+bindkey '^[[A' history-substring-search-up
+bindkey '^[[B' history-substring-search-down
+bindkey -M emacs '^P' history-substring-search-up
+bindkey -M emacs '^N' history-substring-search-down