之前使用的 Fig【已经不在维护,需要升级成Amazon Q】
安装教程
$ brew install amazon-q
==> Auto-updating Homebrew...
Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Downloading https://desktop-release.q.us-east-1.amazonaws.com/1.7.0/Amazon%20Q.dmg
####################################################################################################################################################### 100.0%
==> Installing Cask amazon-q
==> Moving App 'Amazon Q.app' to '/Applications/Amazon Q.app'
amazon-q was successfully installed!
注意:如果安装之后无法使用,大概率因为没有进行账号登录,在terminal里输入q
调起Amazon Q后进行注册登录即可。
如果你使用 Zsh,可以结合 Oh My Zsh 和一些插件(如 zsh-autosuggestions
)实现实时推荐。
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
zsh-autosuggestions
插件:git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
~/.zshrc
中启用插件:plugins=(zsh-autosuggestions)
source ~/.zshrc