Add real-world experiment for rawstr4c

This commit is contained in:
Aoran Zeng 2025-07-13 01:48:11 +08:00
parent 7642898eab
commit 1755ea5b2d
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -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