当前位置:网站首页>tiup completion
tiup completion
2022-07-30 14:50:00 【添香小铺】
为了降低使用成本,TiUP 提供了 tiup completion 命令用于生成命令行自动补全的配置文件。目前支持 bash 和 zsh 两种 shell 的命令补全。
如果是 bash,需要提前安装好 bash-completion:
- 在 macOS 上的安装方式为:如果 bash 版本小于 4.1,执行
brew install bash-completion;如果 bash 版本大于等于 4.1,则执行brew install [email protected]。 - 在 Linux 上的安装方式为:使用包管理器安装
bash-completion包,例如执行yum install bash-completion或者apt install bash-completion。
语法
tiup completion <shell>
<shell> 为 shell 类型,目前支持 bash 和 zsh。
使用方式
bash
将自动补全代码写入一个文件,并且在 .bash_profile 中对其执行 source 命令:
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"
边栏推荐
- 难道Redis真的变慢了吗?
- Distributed pre-course: MySQL implements distributed locks
- 延时消息队列
- [Cloud native] Grayscale release, blue-green release, rolling release, grayscale release explanation
- JHM:芳环羟化双加氧酶数据库DARHD建立及相关引物评价
- Kubernetes应用管理深度剖析
- [In-depth study of 4G/5G/6G topic-46]: 5G Link Adaption Link Adaption-2-Common Abbreviations
- 我们公司用了 6 年的网关服务,动态路由、鉴权、限流等都有,稳的一批!
- MySQL客户端工具的使用与MySQL SQL语句
- [Cloud native] Alibaba Cloud ARMS business real-time monitoring
猜你喜欢

Alluxio为Presto赋能跨云的自助服务能力

English语法_不定代词 - both / either / neither

MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)

Example of video switching playback (video switching example) code

Redis 缓存穿透、击穿、雪崩以及一致性问题
4位资深专家多年大厂经验分享出Flink技术内幕架构设计与实现原理

How is the B+ tree index page size determined?

Mysql database query is very slow. Besides the index, what else can be caused?

Use of SLF4J

瑞吉外卖项目实战Day02
随机推荐
golang modules initialization project
【喂到嘴边了的模块】准备徒手撸GUI?用Arm-2D三分钟就够了
Sleuth+Zipkin(可视化) 服务链路追踪
JVM性能调优
Local Transactions vs Distributed Transactions
nodejs环境变量设置
第十一章 api mgmnt API 参考
哨兵
GeoServer + openlayers
CMake库搜索函数居然不搜索LD_LIBRARY_PATH
GeoServer
GeoServer
Redis 缓存穿透、击穿、雪崩以及一致性问题
Metaverse Post Office AI space-themed series of digital collections will be launched at 10:00 on July 30th "Yuanyou Digital Collection"
Lock wait timeout exceeded solution
R中按照数字大小进行排序
针对 MySQL/InnoDB 刷盘调优
微服务架构下的核心话题 (二):微服务架构的设计原则和核心话题
使用 protobuf 进行数据序列化
tiup install