{"id":18267668,"url":"https://github.com/oxeu/shellove","last_synced_at":"2025-04-09T02:27:28.741Z","repository":{"id":199254445,"uuid":"702467157","full_name":"OXeu/shellove","owner":"OXeu","description":"🍀 A collection of shell scripts that enhance your shell experience","archived":false,"fork":false,"pushed_at":"2023-10-12T10:16:44.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T20:57:23.938Z","etag":null,"topics":["shell","shell-script","template"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OXeu.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}},"created_at":"2023-10-09T11:23:56.000Z","updated_at":"2023-10-10T16:40:59.000Z","dependencies_parsed_at":"2023-10-12T14:38:33.323Z","dependency_job_id":null,"html_url":"https://github.com/OXeu/shellove","commit_stats":null,"previous_names":["thankrain/shellove","oxeu/shellove"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXeu%2Fshellove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXeu%2Fshellove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXeu%2Fshellove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OXeu%2Fshellove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OXeu","download_url":"https://codeload.github.com/OXeu/shellove/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247964509,"owners_count":21025201,"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":["shell","shell-script","template"],"created_at":"2024-11-05T11:28:14.176Z","updated_at":"2025-04-09T02:27:28.719Z","avatar_url":"https://github.com/OXeu.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shellove\n增强 Shell 体验的常用脚本集合\n\n# 安装\n1. Fork 本仓库\n\n2. 执行以下命令\n```shell\nbash \u003c(curl -s https://raw.githubusercontent.com/ThankRain/shellove/master/install.sh)\n```\n\n3. 输入您的仓库克隆地址（HTTPS/SSH）\n\n4. Enjoy it!\n\n# 基础命令\n\n## 书签\n\n### 添加书签\n\n```shell\n$ mark \u003cname\u003e [path]\n```\n`\u003cname\u003e`: 书签名称\n`[path]`: (可选)书签路径，默认为当前目录\n\n### 跳转书签\n支持自动补全\n```shell\n$ cdm \u003cname\u003e\n```\n`\u003cname\u003e`: 书签名称\n\n## Git\n### Gitgraph\n`git log --all --graph --decorate` 的短命令\n```shell\n$ gitgraph\n$ # 或\n$ gg\n```\n\n## 其他\n### 持久化环境变量\n将指定路径添加到环境变量 `PATH` 中，并将其持久化至 `~/.scripts/env.sh` 中\n```shell\n$ addpath [path]\n```\n`[path]` 需要添加到 `PATH` 的路径，默认为当前路径\n\n## 自定义脚本\n\n1. 在 `~/.scripts` 文件夹中编写新脚本\n\n2. `chmod +x xx.sh` 为其添加可执行权限\n\n3. `rld` 重新加载所有脚本\n\n4. `syncs` 输入 commit 信息，并同步到自己仓库中","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxeu%2Fshellove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foxeu%2Fshellove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foxeu%2Fshellove/lists"}