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.

猜你喜欢

转载自blog.csdn.net/Guzarish/article/details/130633980