Skip to content

Remove shell prompt prefixes from README code blocks - #3437

Open
driphtyio wants to merge 1 commit into
BurntSushi:masterfrom
driphtyio:remove-shell-prompts-from-readme
Open

Remove shell prompt prefixes from README code blocks#3437
driphtyio wants to merge 1 commit into
BurntSushi:masterfrom
driphtyio:remove-shell-prompts-from-readme

Conversation

@driphtyio

Copy link
Copy Markdown

Summary

Removes the prefix from shell commands in README code blocks. Modern GitHub code blocks have a copy button that copies the full content including the , which breaks paste-to-terminal workflows.

Changes

  • Removed prefix from 41 shell commands in Installation, Building, and Running tests sections
  • Preserved actual shell variable references like

Context

Fixes #3323. The maintainer mentioned being open to reconsidering this (see comment).

Before

After

The $ prefix before commands in code blocks is a holdover from the
pre-code-block era. Modern GitHub renders code blocks with a copy
button that copies the full block content including the $, which
breaks paste-to-terminal workflows.

This change removes the $ prefix from all shell commands in the
Installation, Building, and Running tests sections while preserving
actual shell variable references like $(arch).

Fixes BurntSushi#3323
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.

please remove the "$" signs from README's code blocks

1 participant