Try   HackMD
tags: TrunkStudio

Create your unique terminal!

Install List

  • ZSH
  • Oh My Zsh (A Framework for managing your zsh configuration)
  • Powerlevel9k (A Theme Engine for ZSH)
  • Nerd-Fonts (Fonts & Glyphs required for many of the ZSH themes)

Linux

Install ZSH

# Install zsh
sudo apt-get install zsh

# Verify your ZSH Version
zsh --version

# Change the default shell from bash to zsh
chsh -s $(which zsh)

# Restarts your computer
sudo shutdown -r 0

# This command should now return /usr/bin/zsh
echo $SHELL

Install Oh My Zsh

# Clone the repository
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

# Backup your current ZSH Configuration 
cp ~/.zshrc ~/.zshrc.orig

# Configure
source ~/.zshrc

Install powerlevel9k

# Clone the powerline9k repo and save it in the directory as 
# specified in Oh My Zsh docs
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k

# modify .zshrc
vim ~/.zshrc

# Set ZSH_THEME in ~/.zshrc and save the file
ZSH_THEME="powerlevel9k/powerlevel9k"

# Configure
source ~/.zshrc

Install Nerd-fonts

# Download the fonts using wget
# Depend on your terminal
wget https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/Hack/Regular/complete/Hack%20Regular%20Nerd%20Font%20Complete.ttf

# modify .zshrc
vim ~/.zshrc

# Set POWERLEVEL9K_MODE in ~/.zshrc and save the file
POWERLEVEL9K_MODE='nerdfont-complete'

# Configure
source ~/.zshrc

Linux:
https://medium.com/@christyjacob4/powerlevel9k-themes-f400759638c2
Mac:
https://jeremysu0131.github.io/Tool-Mac-iTerm-2-Oh-My-Zsh-Powerlevel9k-設定/
https://medium.com/@h86991868/看膩了一成不變的小黑窗-改用iterm2-oh-my-zsh吧-cc2b0683acb
Windows:
https://docs.microsoft.com/zh-tw/windows/terminal/

Powerlevel:
https://github.com/Powerlevel9k/powerlevel9k
https://github.com/romkatv/powerlevel10k

Fonts:
https://github.com/ryanoasis/nerd-fonts