Set transparency: YesBlendingAdjust the diaphaneity of wallpaper, diaphaneity rises more transparent
Effect:
3. Font Settings
throughpipThe installationPowerLine:
#Install Python3 from HomeBrew to obtain easy-install
brew install python3
#Get the PowerLine through PIP
pip install powerline-status --user
Copy the code
Create an empty directory in the appropriate location and run the following command to install the font library:
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
# Powerline fonts installed to /Users/dragonbaby308/Library/Fonts
cd /Users/dragonbaby308/Library/Fonts
Copy the code
Set font:ITerm2 -> Preferences -> Profiles -> Text -> Font -> Select the Font
4. Color matching Settings
Create an empty directory in the appropriate location and run the following command to download the color scheme:
git clone https://github.com/altercation/solarized
cd solarized/iterm2-colors-solarized/
#Open the Finder
open .
Copy the code
In the window that opens, double-clickSolarized Dark.itermcolorsandSolarized Light.itermcolorsYou can install light and dark two colors:
Set color matching:iTerm2 -> Preferences -> Profiles -> Colors -> Color Presets
(2)oh-my-zsh
1. Install
MacUse the defaultdashAs a terminal, throughchsh -s /bin/zshChange the default terminal tozsh
The installationoh-my-zsh:
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
Copy the code
2. Theme download and configuration
To create an empty directory, run the following command:
git clone https://github.com/fcamblor/oh-my-zsh-agnoster-fcamblor.git
cd oh-my-zsh-agnoster-fcamblor/
#Running this command will copy the themes to the oh-my-zsh themes directory, or you can do this manually
./install
Copy the code
Modifying a configuration file:vi ~/.zshrc
#Configure the topic to ys
ZSH_THEME="ys"
Copy the code
#Zsh-syntax-highlighting must be the last!
plugins=(git, zsh-autosuggestions, zsh-syntax-highlighting)
Copy the code
source ~/.zshrcMake the configuration take effect
If the autocomplete color is indistinguishable from the background color, you can configure the autocomplete font color in the first line of iTerm2 -> Preferences -> Profiles -> Colors -> ANSI Colors -> Bright on the right.