{"id":25200784,"url":"https://github.com/pomeluce/akir-zimfw","last_synced_at":"2025-04-04T19:42:10.447Z","repository":{"id":170487117,"uuid":"600938188","full_name":"pomeluce/akir-zimfw","owner":"pomeluce","description":"基于 zimfw 的 zsh 环境, 更精简, 更丝滑, 整合常用插件, 让 zsh 体验飙升","archived":false,"fork":false,"pushed_at":"2025-03-10T01:47:57.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T06:27:48.658Z","etag":null,"topics":["akir","linux","shell","shell-script","zsh","zsh-plugin"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pomeluce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-13T02:24:52.000Z","updated_at":"2025-03-10T01:48:00.000Z","dependencies_parsed_at":"2024-06-21T01:55:23.560Z","dependency_job_id":"e77d3202-227e-42fe-aafb-489558cabdc2","html_url":"https://github.com/pomeluce/akir-zimfw","commit_stats":null,"previous_names":["in-depth-1/dzs","pomeluce/dzs","pomeluce/akir-zimfw"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomeluce%2Fakir-zimfw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomeluce%2Fakir-zimfw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomeluce%2Fakir-zimfw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pomeluce%2Fakir-zimfw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pomeluce","download_url":"https://codeload.github.com/pomeluce/akir-zimfw/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247238835,"owners_count":20906519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["akir","linux","shell","shell-script","zsh","zsh-plugin"],"created_at":"2025-02-10T04:34:12.145Z","updated_at":"2025-04-04T19:42:10.440Z","avatar_url":"https://github.com/pomeluce.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## akir-zimfw\n\n```\n基于 zimfw 的框架构建的 zsh 使用环境, 自定义多个功能模块, 整合常用插件, 添加一些常用脚本, 让 zsh 使用更加顺手\n\n1. azim: 自定义核心模块, 配置补全, 历史信息, 按键绑定, hook 脚本等\n2. colorful: 自定义颜色主题\n3. extract: 文件解压缩模块\n4. fzf: 结合 fzf.zsh 实现的更智能的命令行界面补全, 信息查看, 文件预览模块\n5. fzf-tab-hook: fzf-tab 的 hook 脚本\n6. git: 自定义 git 模块, 添加常用 git 命令别名\n7. sudo: 快捷执行 sudo 命令\n```\n\n### 目录结构\n\n```\n .\n├── 󰃨 cache\n├──  init.zsh\n├──  LICENSE\n├──  modules\n│   ├──  azim\n│   ├──  colorful\n│   ├──  extract\n│   ├──  fzf\n│   ├──  fzf-tab-hook\n│   ├──  git\n│   └──  sudo\n├──  README.md\n└──  zimrc\n```\n\n### 环境依赖\n\n```\n1. 默认 shell 必须为 zsh\n2. 需要安装 fd, exa, bat, fzf, ueberzug, lsd(可选), git, lua\n```\n\n### 安装使用\n\n1. 切换终端的默认 shell 为 zsh\n\n```zsh\n# 查看 zsh  路径\nchsh -l | grep zsh\n\n# 切换 shell, 具体 shell 路径以上一条命令查找到的 zsh 路径为准\nchsh -s /usr/bin/zsh\n```\n\n2. 安装环境依赖项, 某些功能依赖于下面的环境, **可选**\n\n```zsh\n# Arch Linux 直接安装\nyay/pacman -S fd exa bat fzf ueberzug lsd git lua\n\n# 其他 Linux 发行版以各自对应的包管理器为准进行安装\n```\n\n3. 安装 akir-zimfw\n\n```zsh\n# 使用下面的命令拉取仓库\ngit clone https://github.com/pomeluce/akir-zimfw.git ~/.config/akir-zimfw\n\n# 执行如下命令进行配置\necho 'source ~/.config/akir-zimfw/init.zsh' \u003e\u003e ~/.zshrc\n\n# 执行如下命令重新加载终端环境\nsource ~/.zshrc\n```\n\n### 可选配置\n\n| 参数              | 默认值                              | 说明                                   |\n| ----------------- | ----------------------------------- | -------------------------------------- |\n| EXC_FOLDERS       | {.bzr,CVS,.git,.hg,.svn,.idea,.tox} | 设置 grep 命令要忽略的目录             |\n| ZSH_CACHE_DIR     | $AZIM_HOME/cache                    | 设置 zsh 的 cache 目录                 |\n| CASE_SENSITIVE    | false                               | 设置大小写是否敏感                     |\n| AZIM_IN_LASTDIR   | false                               | 是否在启动时自动进入上次目录           |\n| AZIM_HISTORY_SHOW | true                                | 绑定 Ctrl + r 快捷键, 展示搜索历史命令 |\n\n### git 快捷命令\n\n\u003c!-- ``` --\u003e\n\n- gc 'url' : git clone 'url'\n- gco : git checkout\n- gpu: git push origin $(git symbolic-ref --short -q HEAD)\n- gpd: git pull origin $(git symbolic-ref --short -q HEAD) --ff-only\n- gd: git --no-pager diff\n- gs: git --no-pager status\n- gss: git --no-pager status -s\n- gpt: git push origin --tags\n- gtl: git tag -n --sort=taggerdate\n- ga 'file' : git add 'file'\n- gt 'tag' 'commit': git tag -a 'tag' -m \"commit\"\n- gm 'commit': git commit -m \"commit\"\n- gam 'commit': git add --all \u0026\u0026 git commit -m \"commit\"\n- gll: git log (short)\n- glla: git log (long)\n- grv: git remote -v\n- grs: git remote set-url origin url\n- gra: git remote add origin url\n- gfr: git fetch --all \u0026\u0026 git reset --hard origin \u0026\u0026 git pull\n- gsn: git show --name-only 'commit_id'\n\u003c!-- ``` --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomeluce%2Fakir-zimfw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpomeluce%2Fakir-zimfw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpomeluce%2Fakir-zimfw/lists"}