Skip to content
Go back

iterm2+Oh my zsh的mac终端

全局配置

iterm2+Oh my zsh + zsh-autosuggestion+ autojump

基于这个文档链接来进行 https://github.com/sirius1024/iterm2-with-oh-my-zsh

安装好后

配置在~/.zshrc,部分内容如下

plugins=(git zsh-autosuggestions zsh-syntax-highlighting autojump)

alias yd="yarn run dev"
alias ys="yarn start"
alias yb="yarn build"

mac使用cd访问过一个目录比如 /foo后,利用autojump插件使用 j fo可直接跳转

zsh下配置命令别名

遇到的坑

文档

oh-my-zsh 插件推荐: https://www.zrahh.com/archives/167.html

autojump使用: github.com/joelthelion/autojump.git


Share this post on:

Previous Post
https原理
Next Post
git优化