OceanSprint / tesh

TEstable SHell sessions in Markdown
https://pypi.org/project/tesh
MIT License
138 stars 8 forks source link

Use "shell" instead of "shell-session" as language directive in examples #36

Closed zupo closed 1 year ago

zupo commented 1 year ago

Also, tell users to use !! to rerun the last command in debug prompt.

blueracer-io[bot] commented 1 year ago

Unit tests performance report: ✅

Everything looks great, carry on!

Branch Number of tests Suite duration Mean test duration
main 19 33.7s[^1] 1771.5ms[^1]
gardening[^2] 19 (0%) 33.5s (0%) 1764.7ms (0%)

[^1]: The median/mean of the previous 4 runs. [^2]: More specifically from commit 4c74ed9260182448f36deb15640b8cb7e5fe8be8 in run #1. [^2]: More specifically from commit 4c74ed9260182448f36deb15640b8cb7e5fe8be8 in run #1.

domenkozar commented 1 year ago

The terminology depends on who is highlighting the code.

shell usually means bash code, while shell-session means a terminal session.

It seems that the most commonly used name for this is console: https://github.com/rust-lang/book/issues/1449

zupo commented 1 year ago

shell usually means bash code, while shell-session means a terminal session.

Huh, in my editor, shell is colored like console, not like bash. I'd have to check how it is on GitHub too.

In any case, I'm perfectly fine with console, have only a slight preference for shell because it's shorter.

zupo commented 1 year ago

GitHub does in fact have shell as an alias for bash, and console for shell session:

I'll rewrite to console then.

zupo commented 1 year ago

@domenkozar: ready for re-review