Linux System Configuration Notes

System Configuration

1. Zsh Installation and Setup

Install Zsh

# Install Zsh
sudo apt update
sudo apt install zsh

# Check Zsh version
zsh --version

# Set Zsh as the default shell
chsh -s $(which zsh)

Install Zimfw

2025.02.16: Use Zimfw instead of Oh My Zsh for better integration and efficiency

# Check current shell
echo $SHELL
# Install Zimfw via curl
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
echo $ZSH

# Backup .zshrc config file
cp ~/.zshrc ~/.zshrc.bak
# Remove Oh My Zsh config
rm -rf ~/.oh-my-zsh

# Edit zsh config file
nano ~/.zshrc
# Edit zim config file
nano ~/.zimrc
# Reload config via source
source ~/.zshrc

Zsh Plugins and Theme Configuration

# Add powerlevel10k module
zmodule romkatv/powerlevel10k
zimfw install
zimfw update
zimfw upgrade

# Install Zoxide (not via Zimfw)
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh

Most plugins that require manual configuration in Oh My Zsh (such as compinit, SHARE_HISTORY, CORRECT, etc.) are enabled by default in Zim. You only need to manually add required modules and themes, and use zimfw install to install them automatically.

Development Configuration

No development environment configuration yet.

This page was automatically translated by generative AI and may contain inaccuracies or incomplete information. Feedback is welcome to help us improve.




    Enjoy Reading This Article?

    Here are some more articles you might like to read next:

  • macOS System Configuration Notes
  • Practical Configuration Notes for Low-Performance Cloud Servers
  • Essay: Memories of the Old Home
  • Essay: The First Day of 2025, Some Thoughts
  • 2024 Work Summary