zsh
Use when setting up zsh and Oh My Zsh on a new machine, configuring shell plugins, PATH, or conda initialization. Triggers: "zsh", "zshrc", "Oh My Zsh", "shell config", "dotfiles", "conda init", "PATH"
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
ZSH Configuration
Personal zsh dotfiles with Oh My Zsh for a consistent shell environment across machines.
When to Use
- Setting up zsh + Oh My Zsh on a new machine or server
- Configuring PATH, conda, or shell plugins
- Restoring shell configuration after a reinstall
- Debugging shell startup or conda issues
Quick Reference
| Setting | Value |
|---|---|
| Repo | git@github.com:dongzhuoyao/tao-tmux-zsh.git |
| Framework | Oh My Zsh |
| Theme | robbyrussell |
| Plugins | git |
| PATH additions | ~/.local/bin, ~/.opencode/bin |
| Conda | Miniconda3 initialization (if installed) |
| Cursor | Blinking cursor enabled (for Termius) |
Installation
# 1. Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# 2. Clone
git clone git@github.com:dongzhuoyao/tao-tmux-zsh.git ~/tao-tmux-zsh
# 3. Backup existing config
[ -f ~/.zshrc ] && mv ~/.zshrc ~/.zshrc.bak
# 4. Symlink
ln -sf ~/tao-tmux-zsh/zshrc ~/.zshrc
# 5. Reload
source ~/.zshrc
Common Tasks
Set up a new remote server
# SSH in, then:
sudo apt install zsh # or: yum install zsh
chsh -s $(which zsh) # set zsh as default shell (re-login required)
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Clone and symlink
git clone git@github.com:dongzhuoyao/tao-tmux-zsh.git ~/tao-tmux-zsh
ln -sf ~/tao-tmux-zsh/zshrc ~/.zshrc
Reload after edits
source ~/.zshrc
Update dotfiles
cd ~/tao-tmux-zsh && git pull
source ~/.zshrc
Dependencies
| Dependency | Required | Install |
|---|---|---|
| Oh My Zsh | Yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" |
| Miniconda3 | Optional | miniconda docs |
Troubleshooting
| Issue | Fix |
|---|---|
| Conda not found after setup | Re-source: source ~/.zshrc or check Miniconda3 is installed at ~/miniconda3 |
| Oh My Zsh not found | Re-run the Oh My Zsh installer; check ~/.oh-my-zsh/ exists |
See Also
-
tmux— Companion tmux configuration from the same dotfiles repo
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!