Macbook下终端配置(oh-my-zsh和zsh-autosuggestion)

原创文章,转载请注明: 转载自勤奋的小青蛙
本文链接地址: Macbook下终端配置(oh-my-zsh和zsh-autosuggestion)

首先看下效果图:

95a217ef-5aee-44a6-9e3b-130571edd24a

首先是安装oh-my-zsh,然后是安装zsh-autosuggestion,最后可以配置下zsh的主题

1:安装on-my-zsh

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

2:安装zsh-autosuggestion

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

编辑~/.zshrc配置文件:

找到plugins=(git)这一行,添加如下:

plugins=(git zsh-autosuggestions)

3:配置zsh主题

主题修改参考:https://github.com/robbyrussell/oh-my-zsh/wiki/themes

编辑~/.zshrc配置文件,修改theme即可,比如我的:

ff67e716-3231-4479-bd14-0ad03402fa8a

原创文章,转载请注明: 转载自勤奋的小青蛙
本文链接地址: Macbook下终端配置(oh-my-zsh和zsh-autosuggestion)

文章的脚注信息由WordPress的wp-posturl插件自动生成



|2|left
打赏

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: