A-A+

MAC终端自动提示插件的安装

2017年06月06日 严佳冬 暂无评论 阅读 2,438 views 次

一、安装oh my zsh

oh my zsh官网:http://ohmyz.sh/

安装:$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

二、安装zsh-autosuggestions插件

使用的是托管在github.com上的zsh-autosuggestions插件,

地址:https://github.com/tarruda/zsh-autosuggestions

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

1.vim ~/.zshrc #打开配置文件

2.plugins=(git zsh-autosuggestions)   #添加插件进去

3.重新启动命令行窗口即可

标签:

给我留言

Copyright © 严佳冬 保留所有权利.   Theme  Ality 百度地图 苏ICP备19045515号-2

用户登录

分享到: