Created
November 23, 2023 14:16
-
-
Save wsgac/a6a3ce8a392a47da88bc8ad0233f9823 to your computer and use it in GitHub Desktop.
Configure a rudimentary `dabbrev-expand`-like contextual completion inside ZSH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Completion functionality a'la Emacs' dabbrev-expand | |
zstyle ':completion:history-words:*' list no | |
zstyle ':completion:history-words:*' remove_all_dups yes | |
zstyle ':completion:history-words:*' stop yes | |
zstyle ':completion:history-words:*' menu yes | |
bindkey "^[/" _history-complete-older |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment