https://github.com/qwreey/qwreey-fish
Qwreey's fish environment
https://github.com/qwreey/qwreey-fish
Last synced: 4 days ago
JSON representation
Qwreey's fish environment
- Host: GitHub
- URL: https://github.com/qwreey/qwreey-fish
- Owner: qwreey
- Created: 2026-06-08T01:43:23.000Z (10 days ago)
- Default Branch: main
- Last Pushed: 2026-06-08T07:01:04.000Z (10 days ago)
- Last Synced: 2026-06-15T00:32:52.486Z (4 days ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Setup
```sh
curl -sL https://raw.githubusercontent.com/qwreey/qwreey-fish/refs/heads/main/functions/qs_setup.fish | source
and qs_setup --with-carapace
```
### Fish Shell Git Abbreviations (`gacpm`)
To make the command easy to memorize, **`gacpm`** stands for **G**it **A**dd **C**ommit **P**ush **M**essage. This structure allows you to quickly compose and execute conventional commit commands.
**Syntax**
`g[a]c[p]m[.]`
**Flags (Optional)**
* `a` : Prepends `git add (_qs_get_gitdir)` before committing.
* `p` : Appends `git push` after committing.
**Prefixes (Commit Types)**
You can use the full commit type or the following shortcodes:
* `ft`, `fe` : feat
* `fx`, `fi` : fix
* `co`, `ch` : chore
* `dc`, `do` : docs
* `ts`, `te` : test
* `rf`, `re` : refactor
* `pe`, `pf` : perf
* `se`, `sc` : security
* `st` : style
* `dk` : docker
**Scope (Optional)**
Append `.` to specify the scope of the commit.
**Examples**
* `gcmfix.backend` expands to: `git commit -m "fix(backend): "`
* `gcmdo.backend` expands to: `git commit -m "docs(backend): "`
* `gacpmft` expands to: `git add (_qs_get_gitdir)\nand git commit -m "feat: " && git push`