Skip to content

Conversation

@RunDevelopment
Copy link
Member

This fixes #3047.

Changes:

  • A space is now required after the shell symbol.
  • Path-only user infos have to start with a special character to more precisely identify paths. (I split up the regex, so I could comment on the change.)

@github-actions
Copy link

github-actions bot commented Aug 24, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +31 B (+6.3%).

Details
file master pull size diff % diff
components/prism-shell-session.min.js 495 B 526 B +31 B +6.3%

Generated by 🚫 dangerJS against 5715400

@sunknudsen
Copy link

@RunDevelopment Mind blown by how fast you handle issue. Thanks!

@sunknudsen
Copy link

Hey @RunDevelopment, just stumbled upon another edge case.

Not sure why < /dev/random | head -c 8 is not part of command.

@RunDevelopment
Copy link
Member Author

Thanks for reporting @sunknudsen!

@sunknudsen
Copy link

Thanks so much for improving shell session support… very useful when writing guides. 🤓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lines falsely identified as commands in shell session

2 participants