Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
https://github.com/powerline/fonts
https://www.nerdfonts.com/font-downloads
recommend font: Hack Nerd Font https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
- open vscode
- open Command Pallete (Short Cut:
F1
) - type
settings
and SelectPreferences: Open Settings (JSON)
- Add or Edit below settings to Settings JSON file
- Save.
- That's all
ps. This JSON type is JSON with Comments
, so you can use comment syntax in it.
"terminal.integrated.fontFamily": "Source Code Pro for Powerline",
// @vtwang added (deprecated)
// "terminal.integrated.shell.osx": "/bin/zsh",
"terminal.integrated.defaultProfile.osx": "zsh",
// @jasonekratz added
// This fixed the glyph issues I was having with Inconsolata Nerd Font.
"terminal.integrated.gpuAcceleration": "canvas",
// @Drakal added
// I'd also consider adjusting line height if icons are cut off on top too or things look super cramped.
// "terminal.integrated.lineHeight": 1.3
// @ChongTang, @ramonsantos added
// @gaochundong said it works like a charm.
// "terminal.integrated.fontFamily": "Hack Nerd Font"
// @dalekurt added (belows which gives me the the fonts for the terminal and the icons from Nerd Font.)
// "terminal.integrated.fontFamily": "'Source Code Pro for Powerline', 'Hack Nerd Font'
// @nickhingston , @olivebay added for powerlevel10k
// I use powerline10k - which uses https://github.com/romkatv/powerlevel10k/#recommended-meslo-nerd-font-patched-for-powerlevel10k
// so this worked for me:
// "terminal.integrated.fontFamily": "MesloLGS NF"
// @kaustuv added
// after the changing the font, still had some issues with the glyph spacing in the integrated terminal - fixed it with
// @ar2zee : fixed the problem for me.
// (deprecated)
// "terminal.integrated.rendererType": "canvas"
- Add DEFAULT_USER=
whoami
in~/.zshrc
- Change Theme to
agnoster
in~/.zshrc
- Restart Terminal or
source ~/.zshrc
- Download https://github.com/mbadolato/iTerm2-Color-Schemes/zipball/master
- Unzip
- Open Mac Terminal
CMD
+,
open settings- on Left Sidebar, Click
Config
Icon and SelectImport...
- Choose Terminal Schema:
UnzipPath/terminal/*.terminal
- I recommend
Solarized Dark.terminal
- then, make it default (select imported schema and click "Default" button below)
- That'all. if you restart terminal, you can see great
agnoster
theme with oh my zsh.
Worked for me to display symbols (git)