Commit Graph

31 Commits

Author SHA1 Message Date
364fe2381f fix(zsh): load iTerm2 integration from user config 2026-09-27 22:58:50 +08:00
ebffc87b78 feat(zsh): install iTerm2 integration during lazy update
Bundle the iTerm2 zsh integration for offline use. Let update.sh repair a missing or empty installation using curl with redirect support, falling back to the bundled copy on offline, missing curl, failed downloads, or empty responses. Stage the result beside the target before moving it into place.

Append the readability-checked source line to .zshrc only when missing, including when .zshrc does not exist or lacks a final newline. Keep configure_priv.sh and the installation flow unchanged.
2026-09-27 21:55:34 +08:00
ab2d242d25 fix: 按系统选择 cat alias 使用的 bat 命令 2026-09-09 20:41:12 +08:00
b93d9ab879
feat(zsh): load user config after zshrc
Load .zsh_user once before the first prompt and remove legacy direct source lines during updates. Disable Clash proxy environment variables in the default user configuration.
2026-09-08 12:03:26 +08:00
3593897c8d
add clash proxy environment unset function 2026-09-08 11:58:53 +08:00
15c20a6a58
feat: 优化了一下 ufw 的检查
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 18:01:22 +08:00
de87ded3de
feat: 更新 iptables 别名,添加对 ufw 状态的检查
Co-authored-by: Copilot <copilot@github.com>
2026-04-26 17:59:11 +08:00
2aeb16e9f7
feat: 更新 iptables 别名,添加 -v 选项以显示详细信息 2026-04-26 17:56:52 +08:00
bae7abd09f
feat: install uv 2025-11-10 18:06:46 +08:00
5667fc15d8
fix: correct path for rm alias 2025-09-17 01:52:55 +08:00
1bb4e12fc0 更新 files/zsh/51-alias.zsh 2025-04-22 14:14:43 +08:00
35d385e5ca
add hr: __zsh_history_remove 2025-02-25 11:19:44 +08:00
246572fd75
feat(zsh): add HISTCONTROL 2025-02-25 10:52:32 +08:00
339e1a1e1a feat(51-alias.zsh): 将 nano 替换成 vim 以增加熟练度 2024-11-08 11:27:10 +08:00
ab05db660f fix(iptables): 通过增加 iptables-load.service 解决了 ifupdown 不启用时 iptables-load 不生效的问题 2024-10-23 23:46:03 +08:00
d8cde14308
feat: add new alias "rmrm" point to "rm" 2024-09-18 18:12:14 +08:00
6d0ae1af22
use vi, instread of nano 2024-09-11 10:40:00 +08:00
b108ff5996 refactor 2024-08-02 19:16:07 +08:00
bf413997f8 fix: 提前判断 /proc/version 是否存在 2024-07-04 22:51:07 +08:00
4f33405c0f add more alias 2024-01-21 14:02:07 +08:00
b7c5bede14 Update alias for getting IP address 2023-12-04 19:11:53 +08:00
53df5285c2 Remove unnecessary configurations from .zshrc file 2023-11-30 15:00:52 +08:00
683539f86f minor 2023-11-30 15:00:25 +08:00
7a9cbedeca fix minor bug 2023-11-30 14:24:18 +08:00
194064c601 update zsh files 2023-11-30 14:23:00 +08:00
836f33e50f fix zsh custom 2023-11-30 14:12:10 +08:00
afe28694fb add zsh files 80-env and 81-proxy 2023-11-30 13:51:37 +08:00
6cb647aeb6 update zsh files 2023-11-30 13:15:10 +08:00
09b105162f experiment: custom zsh 2023-11-30 12:31:06 +08:00
9fdb1ba055 experimental: custom zsh 2023-11-30 12:06:25 +08:00
26b960c63a experimental: zsh_init 2023-11-30 11:47:39 +08:00