重构项目结构:扁平化配置并支持 curl 一键安装

- 将 arch-config/ 内容移至仓库根目录
- setup.sh 重命名为 install.sh
- 脚本改为自动 clone 仓库到 ~/.config/arch-config
- 新增 pacman -Syu 系统更新步骤
- README 简化为 curl 一行安装
This commit is contained in:
2026-03-25 14:08:41 +08:00
parent 08c3452c1a
commit 8d1f6254cc
10 changed files with 45 additions and 47 deletions
+2
View File
@@ -0,0 +1,2 @@
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch
Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
+20
View File
@@ -0,0 +1,20 @@
# 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'