Files
nix-config/arch-config/files/home/.zshrc
T
imbytecat bbfa5bff1c Improve bootstrap robustness and add safety checks
- Fix /tmp/yay conflict with rm -rf before clone
- Use script directory instead of current directory
- Add pipefail to error handling
- Add command existence checks for mise/zoxide in .zshrc
- Add HTTPS clone option in README
2026-03-25 13:33:32 +08:00

21 lines
384 B
Bash

# Oh My Zsh
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# mise
if command -v mise &> /dev/null; then
eval "$(mise activate zsh)"
fi
# zoxide
if command -v zoxide &> /dev/null; then
eval "$(zoxide init zsh)"
fi
# Aliases
alias ls='ls --color=auto'
alias ll='ls -lah'
alias cd='z'