当前位置:网站首页>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"
边栏推荐
- HTTP缓存小结
- MySQL客户端工具的使用与MySQL SQL语句
- DDS Arbitrary Waveform Output Based on FPGA
- TiUP 故障排查
- Office Automation | Office Software and Edraw MindMaster Shortcuts
- QIIME2得到PICRUSt2结果后如何分析
- 481-82(105、24、82、34、153)
- 面试何惧调优!腾讯技术官私藏的性能优化方案手册,原理实战齐全
- 4位资深专家多年大厂经验分享出Flink技术内幕架构设计与实现原理
- Go to Tencent for an interview and let people turn left directly: I don't know idempotency!
猜你喜欢

Flink实时仓库-DWS层(关键词搜索分析-自定义函数,窗口操作,FlinkSql设置水位线,保存数据到Clickhouse)模板代码

Flask入门学习教程

Go to Tencent for an interview and let people turn left directly: I don't know idempotency!

Configuration - Notes

定时任务 corn

Redis cache penetration, breakdown, avalanche and consistency issues

Lock wait timeout exceeded解决方案

延时消息队列

(Crypto essential dry goods) Detailed analysis of the current NFT trading markets

JVM performance tuning
随机推荐
100w的数据表比1000w的数据表查询更快吗?
如何做好技术选型
Mysql数据库查询好慢,除了索引,还能因为什么?
TensorFlow自定义训练函数
关于mariadb/mysql的user表:密码正确但登录失败,可能与mysql的空用户有关
Redis 缓存穿透、击穿、雪崩以及一致性问题
Local Transactions vs Distributed Transactions
Mac 中 MySQL 的安装与卸载
CS内网横向移动 模拟渗透实操 超详细
针对 MySQL/InnoDB 刷盘调优
JVM性能调优
RISC-V调用惯例
Installing and Uninstalling MySQL on Mac
极验深知v2分析
About the data synchronization delay of MySQL master-slave replication
GeoServer + openlayers
2022最新 | 室外单目深度估计研究综述
SEATA分布式事务
数据库日期类型字段设计,应该如何选择?
This editor actually claims to be as fast as lightning!