Quick learning-Jenkins CLI automatic completion

Autocomplete

If you are already using it on mac or linux oh-my-zsh, you can try the following steps:

# cd ~/.oh-my-zsh/plugins
// 创建 incr 文件夹
# mkdir incr
// 下载 incr 插件
# wget https://mimosa-pudica.net/src/incr-0.2.zsh
// 对 incr 进行授权
# chmod 777 ~/.oh-my-zsh/plugins/incr/incr-0.2.zsh
# vim ~/.zshrc,然后在 “~/.zshrc” 文件中加入 “source ~/.oh-my-zsh/plugins/incr/incr-0.2.zsh”,保存退出
// 更新配置
# source ~/.zshrc

Next, you can use the auto-completion function of jcli, and you may find that not only jcli can auto-complete, but many commands can be auto-completed.

Guess you like

Origin blog.csdn.net/weixin_42528266/article/details/108625712