shellenv: improve --help formatting.
This commit is contained in:
parent
04f3ca78c0
commit
2a676dd94c
@ -1,12 +1,10 @@
|
|||||||
#: * `shellenv`:
|
#: * `shellenv`
|
||||||
#: Prints export statements - run them in a shell and this installation of
|
|
||||||
#: Homebrew will be included into your PATH, MANPATH, and INFOPATH.
|
|
||||||
#:
|
#:
|
||||||
#: HOMEBREW_PREFIX, HOMEBREW_CELLAR and HOMEBREW_REPOSITORY are also exported
|
#: Prints export statements - run them in a shell and this installation of Homebrew will be included into your `PATH`, `MANPATH` and `INFOPATH`.
|
||||||
#: to save multiple queries of those variables.
|
|
||||||
#:
|
#:
|
||||||
#: Consider adding evaluating the output in your dotfiles (e.g. `~/.profile`)
|
#: `HOMEBREW_PREFIX`, `HOMEBREW_CELLAR` and `HOMEBREW_REPOSITORY` are also exported to save multiple queries of those variables.
|
||||||
#: with `eval $(brew shellenv)`
|
#:
|
||||||
|
#: Consider adding evaluating the output in your dotfiles (e.g. `~/.profile`) with `eval $(brew shellenv)`
|
||||||
|
|
||||||
homebrew-shellenv() {
|
homebrew-shellenv() {
|
||||||
echo "export HOMEBREW_PREFIX=\"$HOMEBREW_PREFIX\""
|
echo "export HOMEBREW_PREFIX=\"$HOMEBREW_PREFIX\""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user