fix: zsh idiom consistency and variable quoting #3

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

Summary

  • Use [[ ]] instead of [ ] for conditionals in zinit setup and yazi wrapper (zsh idiom)
  • Quote `` in dirname call and conditional checks
  • Quote $1 in mkcd function
  • Remove extra blank line in .vimrc

Pure lint/style fixes — no functional changes.

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 in zinit setup and yazi wrapper (zsh idiom) - Quote `` in `dirname` call and conditional checks - Quote `$1` in `mkcd` function - Remove extra blank line in `.vimrc` Pure lint/style fixes — no functional changes. ## 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-03-03 22:10:11 +00:00
- Use [[ ]] instead of [ ] for conditionals in zinit setup (lines 39-40)
- Quote  in dirname call and conditionals
- Use [[ ]] instead of [ ] in yazi wrapper
- Quote $1 in mkcd function
- Remove extra blank line in .vimrc

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
This pull request has changes conflicting with the target branch.
  • .zshrc
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin lint-fix:lint-fix
git checkout lint-fix
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#3