Instant use for test rawstr4c

This commit is contained in:
Aoran Zeng 2025-07-12 19:16:33 +08:00
parent a54f704719
commit aa2fd3381d
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -0,0 +1,43 @@
# rawstr4c input
- prefix = `_rawstr`
- postfix = `:use-language`
- translate = `:escape`
- output = `terminal`
## Homebrew
### Bash config
- keep-prefix = `true`
- keep-postfix = `true`
- name = `config`
- name-literally = `false`
最终输出变量将会成为 `_rawstr4c_config_in_bash`
```bash
# ------ chsrc BLOCK BEGIN for Homebrew ------
export HOMEBREW_BREW_GIT_REMOTE="@1@/git/homebrew/brew.git"
export HOMEBREW_CORE_GIT_REMOTE="@1@/git/homebrew/homebrew-core.git"
# for bottles
export HOMEBREW_API_DOMAIN="@1@/homebrew-bottles/api"
export HOMEBREW_BOTTLE_DOMAIN="@1@/homebrew-bottles"
# ------ chsrc BLOCK ENDIN for Homebrew ------
```
### Fish config
- language = `fish`
```bash
# ------ chsrc BLOCK BEGIN for Homebrew ------
set -x HOMEBREW_BREW_GIT_REMOTE "@1@/git/homebrew/brew.git"
set -x HOMEBREW_CORE_GIT_REMOTE "@1@/git/homebrew/homebrew-core.git"
# for bottles
set -x HOMEBREW_API_DOMAIN "@1@/homebrew-bottles/api"
set -x HOMEBREW_BOTTLE_DOMAIN "@1@/homebrew-bottles"
# ------ chsrc BLOCK ENDIN for Homebrew ------
```