Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

complete command in zsh

//First open .zshrc file and then copy past the lines below!
open .zshrc

autoload -U compinit promptinit
compinit
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|=*' 'l:|=* r:|=*'
fpath=(/usr/local/share/zsh-completions $fpath)
 
PREVIOUS NEXT
Tagged: #complete #command #zsh
ADD COMMENT
Topic
Name
8+3 =