Jerry's WIKIJerry's WIKI
Overview
  • ๐Ÿž Web
  • ๐Ÿ“ Components
  • ๐Ÿ’ก Skills
  • ๐ŸŽฑ Specification
  • ๐Ÿ–ฅ Workflows
  • ๐Ÿ›  Tools
  • ๐ŸŒ๏ธ Linux
  • ๐Ÿ“ฆ Container
  • โ™จ๏ธ Language
Coffee
  • ็ฎ€ไฝ“ไธญๆ–‡
  • English
GitHub
Overview
  • ๐Ÿž Web
  • ๐Ÿ“ Components
  • ๐Ÿ’ก Skills
  • ๐ŸŽฑ Specification
  • ๐Ÿ–ฅ Workflows
  • ๐Ÿ›  Tools
  • ๐ŸŒ๏ธ Linux
  • ๐Ÿ“ฆ Container
  • โ™จ๏ธ Language
Coffee
  • ็ฎ€ไฝ“ไธญๆ–‡
  • English
GitHub
  • ๐Ÿšฉ Version Control (Git)

    • Key Configuration and Usage
    • Multi-platform and Multi-repository Key Management
    • Collaborative Development
    • Common Scenarios and Solutions
    • Others
  • โœ๏ธ Editor (Idea)

    • Shortcut Key Modification
    • VCS Operations
    • Others
  • ๐ŸŽ Debugging Tools

    • Stress Testing Tools
    • API Testing
    • Packet Sniffing Tools
  • ๐Ÿ”ญ Client

    • Navicat
    • Mredis
    • Docker Desktop
  • ๐ŸŽ Mac Tools

    • Brew
    • Iterm2
  • ๐ŸŒˆ Miscellaneous

    • List

Iterm2

Index

  • Install
    • Install from the official website
    • Brew Install
  • Foundational Setup.
    • Establish as the default terminal.
    • Configure the connection information.
  • Oh-My-ZSH
    • Install
    • Switch Shell
    • Modify The oh-my-zsh Theme.
    • Keyboard Shortcuts

ใ€Tipใ€‘

The most optimal shell terminal for MacOS system.

Install

Install from the official website

Install

Brew Install

brew install iTerm2  

Foundational Setup.

Establish as the default terminal.

Configure the connection information.

Oh-My-ZSH

Install

#Install oh-my-zsh via curl
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

#Install oh-my-zsh via wget
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Switch Shell

# ๆŸฅ็œ‹ๅฝ“ๅ‰ไฝฟ็”จ็š„shell
echo $SHELL
# ๆŸฅ็œ‹ๅฏ็”จ็š„shell
cat /etc/Shells
# ไฟฎๆ”นไธบzsh
chsh -s /bin/zsh

Modify The oh-my-zsh Theme.

View available themes.

ls ~/.oh-my-zsh/themes

Preview the effects of various themes.

ไธป้ข˜ๆ•ˆๆžœ


Modify the zsh configuration to set up the oh-my-zsh theme.

echo 'ZSH_THEME="agnoster"' >> ~/.zshrc
source ~/.zshrc

Install plugins.

Here, I have installed zsh-autosuggestions, git, and zsh-syntax-highlighting.

# zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
# zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
# ไฟฎๆ”น้…็ฝฎ
vim ~/.zshrc
# ๆ–ฐๅขž็ป„ไปถ
plugins=(zsh-autosuggestions git zsh-syntax-highlighting)
# ไฝฟ้…็ฝฎ็”Ÿๆ•ˆ
source ~/.zshrc

Keyboard Shortcuts

  • Ctrl + b: Moves the cursor one character backward, akin to the left arrow key.
  • Ctrl + f: Moves the cursor one character forward, similar to the right arrow key.
  • Ctrl + d: Deletes the current character.
  • Ctrl + -: Performs an undo operation.
  • Ctrl + a: Positions the cursor at the beginning of the line.
  • Ctrl + e: Positions the cursor at the end of the line.
  • Ctrl + l: Clears the screen.
  • Ctrl + k: Cuts all content from the current cursor position to the end of the line.
  • Ctrl + r: Press to input the command to be searched for, then press to continue searching upward.
  • Ctrl + j: Utilizes the currently found command to conclude the search.
  • Ctrl + g: Cancels the search, restoring the command line.
Edit this page
Update At:
Contributor: ็”ฐๆœๅธ†
Prev
Brew
Next
List