Skip to content

[Request] Imporove bash's colours. #3342

Closed
@katzeprior

Description

@katzeprior

Is your request related to a specific problem you're having?
I'm always frustrated when I write a bash code block but it does not support the gnu coreutils so some of the commands are not highlighted like grep and cat for example.
it also doesn't recognize executables that i installed like nmap or any other program.

The solution you'd prefer / feature you'd like to see added...
A clear and concise description of how you imagine we might solve this (if you have any ideas).
add it to the built_in of bash.js
for the other executables that are not in the gnu coreutils or sh buildins i don't know a easy fix, you could make everything coloured that starts at the beginning of the line also include ./<executable name> or if it comes after the pipe echo "cGxlYXNlIGZpeAo=" | base64 -d so echo and base64 are yellow because currently base64 is not.
gnu core utils

Any alternative solutions you considered...
I don't have an alternative solution.

Additional context...

./test "3"
echo "test"
cat test.txt | grep "lol"

only test and echo are coloured, im missing the cat and grep.
also it would be nice to see the ./ also getting a colour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions