item2 配色方案 oh my zsh

最终效果图  item2地址 https://iterm2.com

下载item2配色包 http://iterm2colorschemes.com

下载然后倒入到item2中

使用的颜色是

在配合oh my zsh   GitHub地址 https://github.com/ohmyzsh/ohmyzsh

终端输入命令  

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

等执行完成配色方案就完成了

 加入自动提示已输入命令功能 

参考链接

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh

 编辑zshrc文件将 上面那句代码放入其中 

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH="/opt/homebrew/bin:$PATH"
export PATH=$HOME/bin/:$PATH
export FLUTTER_HOME=/Users/ios/Documents/flutter
export PATH=$PATH:$FLUTTER_HOME/bin
export PATH=$PATH:$FLUTTER_HOME/bin/cache/dart-sdk/bin
export THEOS=~/theos
export PATH=$THEOS/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
plugins=(
    # other plugins...
    zsh-autosuggestions
    zsh-syntax-highlighting
)
# Set list of themes to pick from when loading at random
"~/.zshrc" 112L, 4268B
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH="/opt/homebrew/bin:$PATH"
export PATH=$HOME/bin/:$PATH
export FLUTTER_HOME=/Users/ios/Documents/flutter
export PATH=$PATH:$FLUTTER_HOME/bin
export PATH=$PATH:$FLUTTER_HOME/bin/cache/dart-sdk/bin
export THEOS=~/theos
export PATH=$THEOS/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
plugins=(
    # other plugins...
    zsh-autosuggestions
    zsh-syntax-highlighting
)
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH="/opt/homebrew/bin:$PATH"
export PATH=$HOME/bin/:$PATH
export FLUTTER_HOME=/Users/ios/Documents/flutter
export PATH=$PATH:$FLUTTER_HOME/bin
export PATH=$PATH:$FLUTTER_HOME/bin/cache/dart-sdk/bin
export THEOS=~/theos
export PATH=$THEOS/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
plugins=(
    # other plugins...
    zsh-autosuggestions
    zsh-syntax-highlighting
)
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.

 

posted @ 2019-12-10 13:30  ZhangShengjie  阅读(503)  评论(0编辑  收藏  举报