fix: use zsh idioms and quote variables in shell config #2

Closed
svxf wants to merge 1 commits from lint-fix into master
Owner

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
## 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
svxf added 1 commit 2026-02-24 21:29:19 +00:00
- 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 force-pushed lint-fix from 80ecee5c4a to c643f0b719 2026-03-03 22:05:34 +00:00 Compare
svxf changed title from fix: quote variables and use zsh idioms in shell config to fix: use zsh idioms and quote variables in shell config 2026-03-03 22:06:02 +00:00
svxf closed this pull request 2026-03-03 22:08:52 +00:00
svxf deleted branch lint-fix 2026-03-03 22:08:52 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: svxf/dotfiles#2