iTerm

iTerm2 has a lot of features. Every conceivable desire a terminal user might have has been foreseen and solved. And these are just the main attractions!

主题

Dracula
image.png

Oh My Zsh

Oh My Zsh is a delightful, open source, community-driven framework for managing your Zsh configuration. It comes bundled with thousands of helpful functions, helpers, plugins, themes, and a few things that make you shout…

使 VSCode 默认打开的是 zsh:

  1. "terminal.integrated.shell.osx": "zsh"

安装

  1. sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

镜像地址:https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh

一些快捷命令别名

别名 命令
g git
gb git branch
gba git branch -a
gaa git add —all
gl git pull
gh git ph

查看所有快捷键: alias

内置插件

~/.zshrc

  1. plugins=(git vi-mode nvm thefuck) // https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins

第三方插件

zsh-autosuggestions

Fish-like fast/unobtrusive autosuggestions for zsh It suggests commands as you type based on history and completions.

主题

~/.zshrc

  1. ZSH_THEME="主题名" // https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

推荐第三方皮肤: powerlevel10k

tldr pages

Simplified and community-driven man pages