From 43c8fec5570be51c9d3638f792c396e877be6049 Mon Sep 17 00:00:00 2001 From: Eric Knibbe Date: Sat, 9 Sep 2023 08:49:00 -0400 Subject: [PATCH] docs: mark console output appropriately --- docs/Adding-Software-to-Homebrew.md | 13 ++++++------- docs/Formula-Cookbook.md | 2 +- docs/Taps.md | 2 +- docs/Tips-N'-Tricks.md | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/Adding-Software-to-Homebrew.md b/docs/Adding-Software-to-Homebrew.md index 8fe5a8072c..d57f0e2b97 100644 --- a/docs/Adding-Software-to-Homebrew.md +++ b/docs/Adding-Software-to-Homebrew.md @@ -250,19 +250,18 @@ See the [Acceptable Casks documentation](Acceptable-Casks.md#finding-a-home-for- Hop into your tap and check to make sure your new cask is there: -```bash +```console $ cd "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask $ git status -# On branch master -# Untracked files: -# (use "git add ..." to include in what will be committed) -# -# Casks/my-new-cask.rb +On branch master +Untracked files: + (use "git add ..." to include in what will be committed) + Casks/m/my-new-cask.rb ``` So far, so good. Now make a feature branch `my-new-cask-branch` that you’ll use in your pull request: -```bash +```console $ git checkout -b my-new-cask-branch Switched to a new branch 'my-new-cask-branch' ``` diff --git a/docs/Formula-Cookbook.md b/docs/Formula-Cookbook.md index 4fe7c9f95c..45cd6b5c7e 100644 --- a/docs/Formula-Cookbook.md +++ b/docs/Formula-Cookbook.md @@ -210,7 +210,7 @@ When a version scheme of a formula fails to recognise a new version as newer it When you already have a lot of formulae installed, it's easy to miss a common dependency. You can double-check which libraries a binary links to with the `otool` command (perhaps you need to use `xcrun otool`): -```sh +```console $ otool -L /usr/local/bin/ldapvi /usr/local/bin/ldapvi: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0) diff --git a/docs/Taps.md b/docs/Taps.md index c4f5db1c38..74d2637b7f 100644 --- a/docs/Taps.md +++ b/docs/Taps.md @@ -9,7 +9,7 @@ but the command isn't limited to any one location. * `brew tap` without arguments lists all currently tapped repositories. For example: - ```sh + ```console $ brew tap homebrew/cask homebrew/core diff --git a/docs/Tips-N'-Tricks.md b/docs/Tips-N'-Tricks.md index 6ec727ea65..d13f571e78 100644 --- a/docs/Tips-N'-Tricks.md +++ b/docs/Tips-N'-Tricks.md @@ -39,7 +39,7 @@ brew install --only-dependencies ## Use the interactive Homebrew shell -```sh +```console $ brew irb ==> Interactive Homebrew Shell Example commands available with: `brew irb --examples`