Using nerdfonts
This commit is contained in:
7
.zshrc
7
.zshrc
@@ -9,9 +9,8 @@ export TERM="xterm-256color"
|
||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
|
||||
# Source and use awesome-fonts
|
||||
# source ~/.fonts/*.sh
|
||||
POWERLEVEL9K_MODE='awesome-fontconfig'
|
||||
|
||||
POWERLEVEL9K_MODE='nerdfont-complete'
|
||||
|
||||
ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||
|
||||
@@ -158,4 +157,4 @@ cheat() {
|
||||
|
||||
# Matrix screen saver! will run if you have installed "cmatrix"
|
||||
TMOUT=300
|
||||
TRAPALRM() { if command -v cmatrix &> /dev/null; then cmatrix -s; fi }
|
||||
TRAPALRM() { if command -v cmatrix &> /dev/null; then cmatrix -sb; fi }
|
||||
|
||||
@@ -60,6 +60,12 @@ else
|
||||
echo -e "\npowerline_fonts Installation Failed\n"
|
||||
fi
|
||||
|
||||
|
||||
wget -N https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf -P ~/.fonts/
|
||||
wget -N https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/RobotoMono/Regular/complete/Roboto%20Mono%20Nerd%20Font%20Complete.ttf -P ~/.fonts/
|
||||
|
||||
fc-cache -fv ~/.fonts
|
||||
|
||||
# if git clone --depth=1 https://github.com/gabrielelana/awesome-terminal-fonts.git --depth=1 ~/.quickzsh/awesome_terminal_fonts; then :
|
||||
# else
|
||||
# cd ~/.quickzsh/awesome_terminal_fonts && git pull
|
||||
|
||||
Reference in New Issue
Block a user