feat: 现代化终端体验升级

- 新增包:starship, atuin, direnv, xh, yq, sd, zellij
- 重写 .zshrc:Starship 提示符、Atuin 历史搜索、fzf 键绑定、
  增强别名(eza --icons, ll, la, lt)、shell 选项、WSL 剪贴板
- 新增 starship.toml 配置
- 优化 git config:SSL 限定到内网地址、pull.rebase、
  push.autoSetupRemote、rerere、delta line-numbers
This commit is contained in:
2026-04-03 13:46:26 +08:00
parent f607c95bf0
commit bbb192ffd5
5 changed files with 111 additions and 24 deletions
+10
View File
@@ -21,16 +21,22 @@ class BaseModule(Module):
source_file="./home/.config/git/config",
owner=self.user,
),
f"/home/{self.user}/.config/starship.toml": File(
source_file="./home/.config/starship.toml",
owner=self.user,
),
}
@pacman_packages
def pacman_packages(self) -> set[str]:
return {
"atuin",
"base-devel",
"base",
"bat",
"btop",
"curl",
"direnv",
"duf",
"dust",
"eza",
@@ -42,12 +48,16 @@ class BaseModule(Module):
"micro",
"procs",
"ripgrep",
"sd",
"starship",
"sudo",
"tealdeer",
"trash-cli",
"vim",
"wget",
"xh",
"yazi",
"yq",
"zoxide",
}