Skip to content

💾 📦 ♻️ An improvement to the shell syntax for VS Code

License

Notifications You must be signed in to change notification settings

jeff-hykin/better-shell-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Like this extension?

You'll probably like this as well: The Better Syntax Megapack

What does this do?

This will get you the bleeding-edge syntax highlighting for bash/zsh. Which means your theme will be able to color your code better.

NOTE: The default VS Code theme does not color much. Switch to the Dark+ theme (installed by default) or use a theme like one of the following to benefit from the changes:

How do I use it?

Just install the VS Code extension and the changes will automatically be applied to all relevent files.

Before After
old_code new_code

The screenshots were taken with PolaCode 2022 with the XD Theme (MixItUp variant) and the XD font

Contributing

If you'd like to help improve the syntax, main.rb is where all the magic happens and CONTRIBUTING.md explains how the code works.

What if I see a highlighting bug?

Post an issue on https://github.com/jeff-hykin/better-shell-syntax