Use [[ ]] instead of [ ] for conditionals (zsh idiom, lines 39-40 and yazi wrapper)
Quote `` in plugin manager checks and dirname call
Quote $1 in mkcd function
Remove extra blank line in .vimrc
Test plan
Source .zshrc and verify no errors
Test mkcd with directory names containing spaces
Verify yazi wrapper still changes directory on exit
## Summary
- Use `[[ ]]` instead of `[ ]` for conditionals (zsh idiom, lines 39-40 and yazi wrapper)
- Quote `` in plugin manager checks and `dirname` call
- Quote `$1` in `mkcd` function
- Remove extra blank line in `.vimrc`
## Test plan
- [ ] Source `.zshrc` and verify no errors
- [ ] Test `mkcd` with directory names containing spaces
- [ ] Verify yazi wrapper still changes directory on exit
- Quote ZINIT_HOME in plugin manager setup
- Quote $1 in mkcd function
- Use [[ ]] instead of [ ] in yazi wrapper (zsh idiom)
- Remove double blank line in .vimrc
Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
svxf
changed title from fix: quote variables and use zsh idioms in shell config to fix: use zsh idioms and quote variables in shell config2026-03-03 22:06:02 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
[[ ]]instead of[ ]for conditionals (zsh idiom, lines 39-40 and yazi wrapper)dirnamecall$1inmkcdfunction.vimrcTest plan
.zshrcand verify no errorsmkcdwith directory names containing spaces80ecee5c4atoc643f0b719fix: quote variables and use zsh idioms in shell configto fix: use zsh idioms and quote variables in shell configPull request closed