A collection of console terminals in serveral operation systems.
Iβm using Claude Code, if you use another Coding CLI service, modify the codes. Insert below codes in
.bashrc or .zshrc and then source ~/.zshrc:Only for macOS (Windows/Linux isnβt checked yet)
π Note: WSL on Windows
- Install Zsh, check the previous section.
π Using iTerms2. Download its settings.
Remember the last command lines for each project
(MacOS) Install Homebrew first.
πΒ Note: WSL on Windows
On MacOS, Zsh is already installed and default.
Install oh-my-zsh.
Install below plugins (using oh-my-zsh way) first:
After installing plugins, put them in
~/.zshrcInstall using oh-my-zsh way: check here:
Set
ZSH_THEME="spaceship" in your .zshrc.Install font Source Code Pro:
- Install
wgetandfontconfigfirst using brew
- Follow instruction here (step 1-4). If some folders don't exist, create them!
- Install Source Code Pro for Powerline and then
Powerline font,
In terminal, choose the corresponding installed fonts.
Add alias to
~/.zshrc (search "alias" to find the place to put).The following tip will display the execution time of a command. This can be useful, especially when you execute the same command multiple times and need to know when the last command was executed.
- fzf -- search in terminal. (Use:
fzf)
Β