Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: pkill and autocomplete



Indeed so I set in my. zshrc

zstyle ':completion:*:kill:*' menu yes select
zstyle ':completion:*:kill:*' force-list always
zstyle ':completion:*:processes' command 'ps x -o pid,pcpu,tt,args'


It works just as you say, my own is a matter of principle, are more
abituatato using pkill that kill.
Or
pkill alias = 'kill'


2008/10/8 Sebastian Stark <seb-zsh@xxxxxxxxxxx>:
>
> On 08.10.2008, at 11:02, Ivan wrote:
>
>> Hi all,
>> is a few weeks with satisfaction that use zsh, but have not yet
>> managed to set some things. The AutoComplete of pkill does not work,
>> does not show <TAB> with the name of processes but that the files in
>> the directory is located here.
>
> In zsh you can use kill instead of pkill. If you write "kill z<TAB>" for
> instance you get a list of processes that start with "z". That is as good
> (or even better) than pkill, at least for me.
>
>
> Sebastian
>



Messages sorted by: Reverse Date, Date, Thread, Author