Excluding Environment Variables from ZSH Autocomplete

Posted by Bryan Veloso on Server Fault See other posts from Server Fault or by Bryan Veloso
Published on 2012-01-24T23:42:12Z Indexed on 2012/10/14 3:40 UTC
Read the original article Hit count: 462

Filed under:
|
|

Quick example:

~ $ wor<TAB>
~ $ WORDCHARS=                                                                                                                                                                                                             
WORDCHARS    WORKON_HOME  WORKON_HOME  workon 

workon is the desired command. Is there a way to exclude the environment variables from auto-completing in ZSH?

© Server Fault or respective owner

Related posts about shell

Related posts about environment-variables