]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/zsh/files/zshrc
Set up barium for homeworking
[max/saltfiles.git] / states / zsh / files / zshrc
index 3f3d61b7a6731dfcd507a913ed02cdb74bbeb68d..04852cedeccc0cc0da2949ba6d1c4fe9f903bbd8 100644 (file)
@@ -8,7 +8,7 @@ zstyle ':completion:*' ignore-parents parent pwd
 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
 zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
 zstyle ':completion:*' list-suffixes true
-zstyle ':completion:*' max-errors 2
+zstyle ':completion:*' max-errors 1
 zstyle ':completion:*' menu select=1
 zstyle ':completion:*' preserve-prefix '//[^/]##/'
 zstyle ':completion:*' prompt 'Corrections with %e differences:'
@@ -53,3 +53,9 @@ fi
 
 
 gpg-connect-agent updatestartuptty /bye > /dev/null
+
+bindkey '^R' history-incremental-search-backward
+
+if [[ -f ~/.shell_aliases ]]; then
+       source ~/.shell_aliases
+fi