mirror of
https://oauth2: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@github.com/m1ngsama/chopsticks.git
synced 2026-06-26 05:34:38 +08:00
Four `vim -u NONE` invocations in scripts/test.sh set a profile or option as their first `-c` then `source .vimrc`. They didn't override XDG_CONFIG_HOME, so .vimrc's local-config hook read ~/.config/chopsticks.vim and any `let g:chopsticks_profile = '...'` there silently overrode the test's setup. After install.sh runs (writing `engineer` or `full` to that file), scripts/test.sh vim fails on the developer's machine but passes in CI — CI never runs install.sh. Fix by prepending XDG_CONFIG_HOME="\$EMPTY_XDG" to the four bare sites, matching what the surrounding tests already do. L176 stays unchanged because it explicitly sets g:chopsticks_local_config to its own controlled file. Closes #72 |
||
|---|---|---|
| .. | ||
| test.sh | ||