标签:fast select 1.2 pre ike code director docke dir
Place the completion script in your /path/to/zsh/completion (typically ~/.zsh/completion/):
下载自动完成文件
mkdir -p ~/.zsh/completion
curl -L https://raw.githubusercontent.com/docker/compose/1.21.0/contrib/completion/zsh/_docker-compose > ~/.zsh/completion/_docker-composeInclude the directory in your $fpath by adding in ~/.zshrc:
在~/.zshrc中加入
fpath=(~/.zsh/completion $fpath)Make sure compinit is loaded or do it by adding in ~/.zshrc:
确保已经加载compinit,或加入到~/.zshrc
autoload -Uz compinit && compinit -iThen reload your shell:
重新载入Shell
exec $SHELL -l
标签:fast select 1.2 pre ike code director docke dir
原文地址:https://www.cnblogs.com/zhuxiaoxi/p/8972980.html