Highlight prefix on zsh autocompletion
Add following to your .zshrc
:
zstyle -e ':completion:*:default' list-colors 'reply=("${PREFIX:+=(#bi)($PREFIX:t)*==34=34}:${(s.:.)LS_COLORS}")';
Source: reddit
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best #Shell Authors
Sponsored by #native_company# — Learn More
#native_title# #native_desc#