• 欢迎访问趣尚博客、分享互联网、软件、编程、创业、英语、VPS 推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您喜欢我的博客,那么请使用Ctrl+D 收藏吧!

Mac终端自动提示命令插件

macOS qushang 3年前 (2017-10-23) 1389次浏览

 

https://github.com/zsh-users/zsh-autosuggestions

 

安装方法

Manual

Clone this repository somewhere on your machine. This guide will assume ~/.zsh/zsh-autosuggestions.

git clone git://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
Add the following to your .zshrc:

source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
Start a new terminal session.

Oh My Zsh

Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
Add the plugin to the list of plugins for Oh My Zsh to load:

plugins=(zsh-autosuggestions)
Start a new terminal session.

 


极客公园 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:Mac终端自动提示命令插件
喜欢 (0)
[399397742@qq.com]
分享 (0)