Evgeniy Alexeev 7187ffd3b7 Update _yaourt
I have the next function in .zshrc:

      pacman () {
        /usr/bin/sudo /usr/bin/pacman $* && echo "$*" | grep -q "S\|R" && rehash
      }

And I have the next line in `/etc/yaourtrc`:

      PACMAN="/usr/bin/pacman"

But if I try to get autocomplite for `yaourt -Ss` (for example) it requires a sudo password. With this patch path to `pacman` (`PACMAN` variable) will be read from the configuration file and this command will not require the password.

It is a correct variant :)
2014-01-08 14:54:56 +03:00
2014-01-08 14:54:56 +03:00
2012-08-01 13:27:59 +02:00
2013-02-26 18:22:17 -08:00

zsh-completions

Additional completion definitions for Zsh.

This projects aims at gathering/developing new completion scripts that are not available in Zsh yet. The scripts are meant to be contributed to the Zsh project when stable enough.

Status

See issues for details on each completion definition.

Usage

Using packages

Manual installation

  • Clone the repository:

      git clone git://github.com/zsh-users/zsh-completions.git
    
  • Include the directory in your $fpath, for example by adding in ~/.zshrc:

      fpath=(path/to/zsh-completions/src $fpath)
    
  • You may have to force rebuild zcompdump:

      rm -f ~/.zcompdump; compinit
    

Contributing

Contributions are welcome, just make sure you follow the guidelines:

  • Please add a header containing authors, license info, status and origin of the script (example here).
  • Please try to follow Zsh completion style guide.
  • Send a pull request or ask for committer access.

License

See each file for license details.

S
Description
Additional completion definitions for Zsh.
Readme
7.1 MiB
0 Stars 4 Watchers 0 Forks
Languages
Shell 94.7%
Python 4.3%
Emacs Lisp 1%