Files
nix-config/files/home/.zshrc
T
imbytecat 8d1f6254cc 重构项目结构:扁平化配置并支持 curl 一键安装
- 将 arch-config/ 内容移至仓库根目录
- setup.sh 重命名为 install.sh
- 脚本改为自动 clone 仓库到 ~/.config/arch-config
- 新增 pacman -Syu 系统更新步骤
- README 简化为 curl 一行安装
2026-03-25 14:08:41 +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'