sb2nov / mac-setup

Installing Development environment on macOS
https://sourabhbajaj.com/mac-setup/
Other
7.18k stars 1.02k forks source link

Don't use terminal prompt for single line commands #276

Closed simeg closed 4 years ago

simeg commented 4 years ago

Having the terminal prompt makes it harder to copy-paste the command. Only use them for examples where the output is shown, so it's obvious that is the command and what is the result.

WDYT? @sb2nov @hugovk @Kyslik

sb2nov commented 4 years ago

+1 have run into this myself multiple times.

hugovk commented 4 years ago

Good idea!

How about replacing the ones like with indents with ones with bash or sh formatting, like the others?

So for example instead of:

cd /usr/local/Homebrew/

Do:

```bash
cd /usr/local/Homebrew/

So then instead of plain block:

    cd /usr/local/Homebrew/

We'll get some formatting:

```bash
cd /usr/local/Homebrew/
simeg commented 4 years ago

@hugovk Hmm I thought that was already the case. If not I will update that too!

simeg commented 4 years ago

I've started doing the work proposed by @hugovk but it's lots of manual work so not yet done. Thanks for merging!