mirror of https://github.com/antonmedv/fx
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
204 B
Go
15 lines
204 B
Go
3 months ago
|
package complete
|
||
|
|
||
|
func Zsh() string {
|
||
|
return `_fx_complete() {
|
||
|
if [[ $CURRENT -eq 2 ]]; then
|
||
|
_files
|
||
|
else
|
||
|
compadd $(COMP_ZSH="${LBUFFER}" fx)
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
compdef _fx_complete fx
|
||
|
`
|
||
|
}
|