linux terminal landscaping oh-my-zsh

First on a picture of his own terminal.

image

First, this is my personal website, personal blog site links point my
article on my site URL is this this article URL here, my point . For a better reading experience, the best from here, the content is the same.

When it comes to the topic, terminal landscaping, beautification although with no birds, but that she looked nice ah! ! !

First, in the terminal mounting zsh

sudo apt-get install zsh -y

Then install the oh-my-zsh, the following command sequence

git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh

The default does not look good, we use another theme Powerlevel10k

Installation: Run the following commands

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh 

Alternatively, the above line of code or immediately below this line of code, select an input again on the line

git clone https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k

Then perform

echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc

After the download is good, may find that the fonts garbled, we solve the following

If the font garbled, execute the following command

Execute the following two commands in the terminal

mkdir -p ~/.local/share/fonts
cd ~/.local/share/fonts && curl -fLo "Droid Sans Mono for Powerline Nerd Font Complete.otf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/DroidSansMono/complete/Droid%20Sans%20Mono%20Nerd%20Font%20Complete.otf

Then open your home directory the following configuration file .zshrc,

vi ~/.zshrc

Join this sentence

POWERLEVEL9K_MODE="nerdfont-complete"

It can be. Configuration

Information display system is software, screenfetch
installation method:
APT-GET screenfetch the install
after installation on the input terminal to display screenfetch

Guess you like

Origin www.cnblogs.com/mengchaobbbigrui/p/11319561.html