mirror of
https://github.com/RubyMetric/chsrc
synced 2025-07-18 22:04:52 +08:00
Add real-world experiment for rawstr4c
This commit is contained in:
parent
7642898eab
commit
1755ea5b2d
@ -4,17 +4,28 @@
|
|||||||
- postfix = `:use-language`
|
- postfix = `:use-language`
|
||||||
|
|
||||||
- translate = `:escape`
|
- translate = `:escape`
|
||||||
- output = `terminal`
|
- output = `:terminal`
|
||||||
|
|
||||||
|
|
||||||
## Homebrew
|
## Homebrew
|
||||||
|
|
||||||
|
### read user config (for both Bash and Fish)
|
||||||
|
|
||||||
|
- name = `read_config_cmd`
|
||||||
|
- name-literally = `true`
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo HOMEBREW_API_DOMAIN=$HOMEBREW_API_DOMAIN;
|
||||||
|
echo HOMEBREW_BOTTLE_DOMAIN=$HOMEBREW_BOTTLE_DOMAIN;
|
||||||
|
echo HOMEBREW_BREW_GIT_REMOTE=$HOMEBREW_BREW_GIT_REMOTE;
|
||||||
|
echo HOMEBREW_CORE_GIT_REMOTE=$HOMEBREW_CORE_GIT_REMOTE;
|
||||||
|
```
|
||||||
|
|
||||||
### Bash config
|
### Bash config
|
||||||
|
|
||||||
- keep-prefix = `true`
|
- keep-prefix = `true`
|
||||||
- keep-postfix = `true`
|
- keep-postfix = `true`
|
||||||
- name = `config`
|
- name = `config`
|
||||||
- name-literally = `false`
|
|
||||||
|
|
||||||
最终输出变量将会成为 `_rawstr4c_config_in_bash`
|
最终输出变量将会成为 `_rawstr4c_config_in_bash`
|
||||||
|
|
||||||
@ -30,6 +41,7 @@ export HOMEBREW_BOTTLE_DOMAIN="@1@/homebrew-bottles"
|
|||||||
|
|
||||||
### Fish config
|
### Fish config
|
||||||
|
|
||||||
|
- name = `config`
|
||||||
- language = `fish`
|
- language = `fish`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user