docs: mark console output appropriately

This commit is contained in:
Eric Knibbe 2023-09-09 08:49:00 -04:00
parent 9372edf38f
commit 43c8fec557
No known key found for this signature in database
GPG Key ID: 179D9CDDDB814168
4 changed files with 9 additions and 10 deletions

View File

@ -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: Hop into your tap and check to make sure your new cask is there:
```bash ```console
$ cd "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask $ cd "$(brew --repository)"/Library/Taps/homebrew/homebrew-cask
$ git status $ git status
# On branch master On branch master
# Untracked files: Untracked files:
# (use "git add <file>..." to include in what will be committed) (use "git add <file>..." to include in what will be committed)
# Casks/m/my-new-cask.rb
# Casks/my-new-cask.rb
``` ```
So far, so good. Now make a feature branch `my-new-cask-branch` that youll use in your pull request: So far, so good. Now make a feature branch `my-new-cask-branch` that youll use in your pull request:
```bash ```console
$ git checkout -b my-new-cask-branch $ git checkout -b my-new-cask-branch
Switched to a new branch 'my-new-cask-branch' Switched to a new branch 'my-new-cask-branch'
``` ```

View File

@ -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`): 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 $ otool -L /usr/local/bin/ldapvi
/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) /usr/local/opt/openssl/lib/libssl.1.0.0.dylib (compatibility version 1.0.0, current version 1.0.0)

View File

@ -9,7 +9,7 @@ but the command isn't limited to any one location.
* `brew tap` without arguments lists all currently tapped repositories. For * `brew tap` without arguments lists all currently tapped repositories. For
example: example:
```sh ```console
$ brew tap $ brew tap
homebrew/cask homebrew/cask
homebrew/core homebrew/core

View File

@ -39,7 +39,7 @@ brew install --only-dependencies <formula>
## Use the interactive Homebrew shell ## Use the interactive Homebrew shell
```sh ```console
$ brew irb $ brew irb
==> Interactive Homebrew Shell ==> Interactive Homebrew Shell
Example commands available with: `brew irb --examples` Example commands available with: `brew irb --examples`