hchbaw / auto-fu.zsh

#zsh automatic complete-word and list-choices. Originally incr-0.2.zsh by y.fujii <y-fujii at mimosa-pudica.net>
429 stars 51 forks source link

Add an option to blacklist some commands #28

Closed RobertAudi closed 10 years ago

RobertAudi commented 10 years ago

Autofu fails with some commands. It's not Autofu's fault, but it would be useful to have a blacklist some commands

hchbaw commented 10 years ago

Hi, @AzizLight.

Yes, it can do. It uses some blacklist patterns. For example, if I want to ban some svn co … stuffs because of its slowness, it can be accomplish like this:

zstyle ':auto-fu:var' autoable-function/skiplbuffers 'svn co*'

Also, some live examples really help. Great thanks for those opening it to the public: https://github.com/search?q=zstyle+':auto-fu:var+autoable-function'&type=Code (The above search query yields lots of same usage example though.)

RobertAudi commented 10 years ago

@hchbaw Ah! Thanks a lot! :+1: