当前位置:网站首页>tiup completion
tiup completion
2022-07-30 15:41:00 【Tim's Shop】
In order to reduce the usage cost, TiUP provides the tiup completion command to generate the configuration file for command line auto-completion.Currently supports command completion for two shells, bash and zsh.
If it is bash, you need to install bash-completion in advance:
- The installation method on macOS is: if the bash version is less than 4.1, execute
brew install bash-completion; if the bash version is greater than or equal to 4.1, executebrew install [email protected]. - The installation method on Linux is: use the package manager to install the
bash-completionpackage, for example, executeyum install bash-completionorapt install bash-completion.
Syntax
tiup completion
is the shell type, currently supports bash and zsh.
How to use
bash
Write autocompletion code to a file and execute the source command on it in .bash_profile:
tiup completion bash > ~/.tiup.completion.bash printf " # tiup shell completion source '$HOME/.tiup.completion.bash' " >> $HOME/.bash_profile source $HOME/.bash_profile
zsh
tiup completion zsh > "${fpath[1]}/_tiup"
边栏推荐
猜你喜欢
随机推荐
The highest level of wiring in the computer room, the beauty is suffocating
70行代码撸一个桌面自动翻译神器
How to do a good job in technology selection
【重磅来袭】教你如何在RGBD三维重建中获取高质量模型纹理
定时任务 corn
Redis cache penetration, breakdown, avalanche and consistency issues
Compile, link, notes - 3
软件包 - 笔记
golang图片处理库image简介
InputStream和OutputStream流的使用
难道Redis真的变慢了吗?
canal scrape data
tiup help
Flink实时仓库-DWS层(关键词搜索分析-自定义函数,窗口操作,FlinkSql设置水位线,保存数据到Clickhouse)模板代码
R中按照数字大小进行排序
Lock wait timeout exceeded solution
华为云重磅发布开源软件治理服务——软件成分分析
编译、链接 - 笔记 - 3
GeoServer + openlayers
B+树索引页大小是如何确定的?




![[Cloud native] Grayscale release, blue-green release, rolling release, grayscale release explanation](/img/90/f7d85ac655d9206fefbd28e0fc81ba.png)




