An open API service indexing awesome lists of open source software.

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

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`