Last modified on 28 Jul 2020.

A collection of console terminals in serveral operation systems. For bash command lines, check this note.

๐Ÿ‘‰ Bash Command Lines.


  • cmder (drop-down, setting file)
  • Windows Terminal

      // ...
      "defaultProfile": "{00000000-0000-0000-ba54-000000000002}",
      // ...
                  // Put settings here that you want to apply to all profiles.
                  // ...
                      "guid": "{00000000-0000-0000-ba54-000000000002}",
                      "acrylicOpacity" : 0.75,
                      "closeOnExit" : true,
                      "colorScheme" : "Campbell",
                      "commandline" : "\"%PROGRAMFILES%\\git\\usr\\bin\\bash.exe\" -i -l",
                      "cursorColor" : "#FFFFFF",
                      "cursorShape" : "bar",
                      "fontFace" : "Consolas",
                      "fontSize" : 12,
                      "historySize" : 9001,
                      "icon" : "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
                      "name" : "Bash",
                      "padding" : "0, 0, 0, 0",
                      "snapOnInput" : true,
                      "startingDirectory" : "%USERPROFILE%\\Documents\\git",
                      "useAcrylic" : true


Guake terminal

  • Download guake terminal
  • Install Zsh, follow this note.
  • Save/Restore settings:

    # save settings
    guake --save-preferences ~/Downloads/guake_prefs
    # load settings
    guake --restore-preferences ~/Downloads/guake_prefs


Using iTerms2. Download its settings. Below is the guide of making iTerms2 working like Guake.

  1. Preferences > Tab Keys > Hotkey > tick on Show/ hide all windows with a system-wide hotkey > choose key combination (Cmd + ~).
  2. Preferences > Profiles > Default > tab Windows > set Style to Full-Width Top of Screen and Screen to Screen with Cursor.
  3. Preferences > Appearance > check Exclude from Dock and โŒ˜-Tab Switcher
  4. Run on startup: System Preferences > Users and Groups > Login Items > [+] > choose iTerm.


# CLI tools for Xcode
xcode-select -r
xcode-select โ€”-install

# install hombrew
/bin/bash -c "$(curl -fsSL"

Zsh (Linux)

Install Zsh + oh-my-zsh

# check is installed
zsh --version
# install (linux)
sudo apt install zsh

# install (macos - integrated)
# make zsh default bash
chsh -s $(which zsh) # log out & log in
# check
echo $SHELL # /bin/zsh  or similar
# install oh-my-zsh
sh -c "$(curl -fsSL"


# zsh-autosuggestions
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

# zsh-syntax-highlighting
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

After installing plugins, put them in ~/.zshrc,

plugins=(git docker docker-compose zsh-syntax-highlighting dnf npm)
# for me
# plugins=(git docker docker-compose npm ruby python emoji)

spaceship-prompt theme

This is my choice. Source code.

# need to install oh-my-zsh first
git clone "$ZSH_CUSTOM/themes/spaceship-prompt"
ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"

Set ZSH_THEME="spaceship" in your .zshrc.

powerlevel10k theme

# theme powerlevel10k
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
# after installing
p10k configure


Install font Source Code Pro:

  1. Follow instruction here. If some folders donโ€™t exist, create them!
    mv PowerlineSymbols.otf ~/.local/share/fonts/
    fc-cache -vf ~/.local/share/fonts/
    mv 10-powerline-symbols.conf ~/.config/fontconfig/conf.d/
  2. Download Source Code Pro and move all downloaded otf fonts to
    mv SourceCode-* ~/.local/share/fonts/

Powerline font,

sudo apt-get install fonts-powerline

In terminal, choose the corresponding installed fonts.

Add alias to ~/.zshrc (search โ€œaliasโ€ to find the place to put).

alias iserve='bundle exec jekyll serve -I'
alias dserve='bundle exec jekyll serve --draft'
alias serve='bundle exec jekyll serve'
alias build='bundle exec jekyll build'
alias raimon='ssh -p 15424 [email protected]'
alias raimon-notebook='ssh -N -L localhost:8765: [email protected] -p 15424'
alias airflow='ssh -N -p 15424 [email protected] -L -f'
alias dat='cd /home/thi/git/'
alias popai='cd /home/thi/git/dataswati/python-dataswati/popai/'
alias datas-git='cd /home/thi/git/dataswati/git'
alias gitahead='/home/thi/apps/GitAhead/GitAhead&'
alias trello='/home/thi/apps/trello/Trello&'
alias p13='cd /home/thi/git/P13-discuss-group/'
alias tb=taskbook
alias python=python3
alias pip=pip3

After that, run source ~/.zshrc to update the changes!