Skip to content

Conversation

@seefood
Copy link
Contributor

@seefood seefood commented Oct 15, 2025

Summary

  • Added shellcheck headers to all theme files
  • Fixed SC2154 warnings by adding ? to color variable expansions
  • Fixed SC2155 violations (separate declaration and assignment)
  • Fixed SC2086 violations (quote variable expansions)
  • Updated clean_files.txt to reflect cleaned theme files

Test plan

  • All shellcheck violations fixed in modified theme files
  • Themes load without errors
  • Visual inspection of theme prompts

🤖 Generated with Claude Code

Ira Abramov and others added 5 commits October 15, 2025 14:45
Separate local variable declarations from command substitution assignments
to avoid masking return values, per shellcheck SC2155.

Modified files:
- themes/mbriggs/mbriggs.theme.bash (2 fixes)
- themes/powerline-plain/powerline-plain.base.bash (1 fix)
- themes/sirup/sirup.theme.bash (2 fixes)
- themes/slick/slick.theme.bash (2 fixes)
- themes/zork/zork.theme.bash (2 fixes)

Total: 9 SC2155 violations fixed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Add double quotes around variable expansions to prevent globbing and word
splitting, per shellcheck SC2086.

Modified files:
- themes/nwinkler_random_colors/nwinkler_random_colors.theme.bash (3 fixes)
- themes/powerline-plain/powerline-plain.base.bash (4 fixes)
- themes/powerturk/powerturk.theme.bash (5 fixes)
- themes/ramses/ramses.theme.bash (2 fixes)
- themes/sirup/sirup.theme.bash (2 fixes)
- themes/slick/slick.theme.bash (2 fixes)
- themes/zork/zork.theme.bash (2 fixes)

Total: 19 SC2086 violations fixed

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@seefood seefood marked this pull request as draft October 15, 2025 13:05
@seefood seefood self-assigned this Oct 15, 2025
@seefood seefood marked this pull request as ready for review October 15, 2025 13:14
@seefood seefood changed the title all themes cleaned up All themes cleaned up Oct 15, 2025
@seefood seefood requested a review from akinomyoga October 15, 2025 20:23
@seefood seefood merged commit 0f04edc into master Oct 16, 2025
11 checks passed
@seefood seefood deleted the feature/clean-up-themes branch October 18, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants