oh-my-zsh 效率插件

命令语法亮度插件zsh-syntax-highlighting

下载

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

配置

vim ~/.zshrc

中加入插件的名字

plugins=( [plugins...] zsh-syntax-highlighting)

生效source ~/.zshrc或是重启终端

历史记录建议插件 zsh-autosuggestions

下载

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

配置

vim ~/.zshrc

在配置中添加插件名字:

plugins=( [plugins...] zsh-autosuggestions)

修改完成之后需要运行:

source ~/.zshrc

常用目录切换wd

安装

curl -L https://github.com/mfaerevaag/wd/raw/master/install.sh | sh

or

wget --no-check-certificate https://github.com/mfaerevaag/wd/raw/master/install.sh -O - | sh

使用

将当前目录添加到wd

wd add myname

快捷访问目录

wd myname

了解更多

# linux  MacOS 

评论

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×