mac zsh终端 goframe gf 别名冲突

前言

如果你使用的是 zsh 终端,可能会存在 gf 别名冲突( git fetch 快捷指令)

解决

终端运行 alias gf=gfgf 工具会自动修改 .zshrc 中的别名设置,source .zshrc 或者重开终端,gf -v 就可以用了。

复制代码
alias gf=gf
source .zshrc
复制代码
$ gf -v

GoFrame CLI Tool v2.4.1, https://goframe.org
GoFrame Version: cannot find go.mod
CLI Installed At: /usr/local/go/bin/gf
Current is a custom installed version, no installation information.
posted @   牛奔  阅读(235)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通
历史上的今天:
2022-05-11 linux centos libgd.so.2. cannot open shared object file:No such file or directory
2022-05-11 linux centos8 mirrorlist: No URLs in mirrorlist,更新yum源
2021-05-11 深度图怎么看行情走势
2019-05-11 Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
2019-05-11 HTTP协议
2019-05-11 功能算法
点击右上角即可分享
微信分享提示