mirror of
https://gitee.com/RubyMetric/chsrc.git
synced 2025-12-26 05:02:46 +00:00
Instant use for test `rawstr4c`
This commit is contained in:
parent
a54f704719
commit
aa2fd3381d
|
|
@ -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 ------
|
||||
```
|
||||
Loading…
Reference in New Issue