当前位置:网站首页>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"
边栏推荐
- v-model组件化编程应用
- [Cloud native] Alibaba Cloud ARMS business real-time monitoring
- 华为「天才少年」计划招募的博士们,迎来首秀!
- B+树索引页大小是如何确定的?
- Alluxio for Presto fu can across the cloud self-service ability
- MySql报错:SqlError(Unable to execute query“, “Can‘t create/write to file OS errno 2 - No such file...
- 后浪来袭!阿里产出“第二代”容器技术手册及脑图,这也太香了吧
- 华为云重磅发布开源软件治理服务——软件成分分析
- tiup env
- 【云原生】服务行业案例-不可预测的并发场景解决方案
猜你喜欢

类和对象(下篇)

数据库-SQL

Alluxio for Presto fu can across the cloud self-service ability

GeoServer

JVM性能调优

SQL 优化这么做就对了!

Distributed pre-course: MySQL implements distributed locks

The highest level of wiring in the computer room, the beauty is suffocating

481-82(105、24、82、34、153)

Example of video switching playback (video switching example) code
随机推荐
Go to Tencent for an interview and let people turn left directly: I don't know idempotency!
数字量输入模块io
vite 多页面应用刷新页面时,不会在当前路由中,会返回到根路由
(Crypto essential dry goods) Detailed analysis of the current NFT trading markets
Ts是什么?
Extremely Knowing v2 Analysis
被捧上天的Scrum敏捷管理为何不受大厂欢迎了?
编译、链接 - 笔记 - 3
ISELED---氛围灯方案的新选择
关于MySQL主从复制的数据同步延迟问题
What is Ts?
TiUP 故障排查
调试 - 笔记
Office Automation | Office Software and Edraw MindMaster Shortcuts
Lock wait timeout exceeded解决方案
(Popular Science) What is Fractional NFT (Fractional NFT)
Packages - Notes
4位资深专家多年大厂经验分享出Flink技术内幕架构设计与实现原理
[Cloud Native] Service Industry Case - Solutions for Unpredictable Concurrency Scenarios
Placement Rules 使用文档