Skip to content

Instantly share code, notes, and snippets.

@BoWang816
Last active April 6, 2022 14:12
Show Gist options
  • Save BoWang816/fa3109fd153d3227e95dcd9283791dd0 to your computer and use it in GitHub Desktop.
Save BoWang816/fa3109fd153d3227e95dcd9283791dd0 to your computer and use it in GitHub Desktop.
[oh-my-zsh install autocomplete]
1、将插件放置在oh-my-zsh的默认插件目录:
cd /User/wangbo/.oh-my-zsh/plugins;
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git
2、编辑.zsh添加zsh-autocomplete.plugin.zsh:
vim ~/.zsh
可以直接在最上面添加即可,添加内容为:
source /User/wangbo/.oh-my-zsh/plugins/zsh-autocomplete/zsh-autocomplete.plugin.zsh;
3、添加结束后保存;
4、执行一下: source ~/.zsh
5、重启一下iterm2就好了
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment