mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
19 lines
347 B
Bash
19 lines
347 B
Bash
#!zsh
|
|
#
|
|
# Installation
|
|
# ------------
|
|
#
|
|
# To achieve fabfile completion nirvana:
|
|
#
|
|
# Copy this file somewhere (e.g. ~/.fab-comletion.zsh) and put the following line in your .zshrc:
|
|
#
|
|
# source ~/.fab-comletion.zsh
|
|
#
|
|
# Or, use this file as a oh-my-zsh plugin.
|
|
#
|
|
|
|
_fab_list() {
|
|
reply=(`fab --shortlist`)
|
|
}
|
|
compctl -K _fab_list fab
|
|
|