Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新电脑终端配置 #24

Open
hulin32 opened this issue Apr 23, 2019 · 0 comments
Open

新电脑终端配置 #24

hulin32 opened this issue Apr 23, 2019 · 0 comments
Labels

Comments

@hulin32
Copy link
Owner

hulin32 commented Apr 23, 2019

最近在换电脑,之前的电脑终端一直用着,虽然有些地方不如意,但是一直都没管它,这次换电脑想着一次搞定,到最后发现其实挺快的。

我用的oh-my-zsh, 这次发现真是简单。

  1. 安装 oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  1. 一个补全的自定义插件 zsh-autosuggestions
    它会根据你的历史技术补全,完美
    安装教程

  2. 官方插件
    oh-my-zsh还有一个插件系统,里面维护有很多的插件,你可以在 .oh-my-zsh/plugins/ 目录下找到,
    当你需要使用是只需要在 .zshrc 文件中田间:

plugins=(
  git
  zsh-autosuggestions
  docker
)

添加完后命令会有很多补全,以及提示信息

@hulin32 hulin32 added the Shell label Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant