Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oxeu/shellove
🍀 A collection of shell scripts that enhance your shell experience
https://github.com/oxeu/shellove
shell shell-script template
Last synced: about 4 hours ago
JSON representation
🍀 A collection of shell scripts that enhance your shell experience
- Host: GitHub
- URL: https://github.com/oxeu/shellove
- Owner: OXeu
- License: mit
- Created: 2023-10-09T11:23:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-12T10:16:44.000Z (about 1 year ago)
- Last Synced: 2024-03-26T08:33:33.267Z (7 months ago)
- Topics: shell, shell-script, template
- Language: Shell
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Shellove
增强 Shell 体验的常用脚本集合# 安装
1. Fork 本仓库2. 执行以下命令
```shell
bash <(curl -s https://raw.githubusercontent.com/ThankRain/shellove/master/install.sh)
```3. 输入您的仓库克隆地址(HTTPS/SSH)
4. Enjoy it!
# 基础命令
## 书签
### 添加书签
```shell
$ mark [path]
```
``: 书签名称
`[path]`: (可选)书签路径,默认为当前目录### 跳转书签
支持自动补全
```shell
$ cdm
```
``: 书签名称## Git
### Gitgraph
`git log --all --graph --decorate` 的短命令
```shell
$ gitgraph
$ # 或
$ gg
```## 其他
### 持久化环境变量
将指定路径添加到环境变量 `PATH` 中,并将其持久化至 `~/.scripts/env.sh` 中
```shell
$ addpath [path]
```
`[path]` 需要添加到 `PATH` 的路径,默认为当前路径## 自定义脚本
1. 在 `~/.scripts` 文件夹中编写新脚本
2. `chmod +x xx.sh` 为其添加可执行权限
3. `rld` 重新加载所有脚本
4. `syncs` 输入 commit 信息,并同步到自己仓库中