aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2021-02-07 16:16:58 +0100
committerDavid Runge <dave@sleepmap.de>2021-02-07 16:16:58 +0100
commit8e4842dd756ac2710cd8d871db7893cea770c51e (patch)
treea09acca228f30ffe2ecc55aeaa19bbab986a54ae
parentb37101ba4fa0560920f9609cdbc44cf25c5ae6a3 (diff)
downloaddotfiles-8e4842dd756ac2710cd8d871db7893cea770c51e.tar.gz
dotfiles-8e4842dd756ac2710cd8d871db7893cea770c51e.tar.bz2
dotfiles-8e4842dd756ac2710cd8d871db7893cea770c51e.tar.xz
dotfiles-8e4842dd756ac2710cd8d871db7893cea770c51e.zip
.zshrc: Set autosuggestion strategy
.zshrc: Set the zsh-autosuggestions strategy to be only based on the history of used commands.
-rw-r--r--.zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 7c71272..5c564de 100644
--- a/.zshrc
+++ b/.zshrc
@@ -404,6 +404,7 @@ for p in ${autosuggestions}; do
source "$p"
fi
done
+ZSH_AUTOSUGGEST_STRATEGY=('history')
# syntax-highlighting
syntax_highlighting=( "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"