Skip to content

Commit

Permalink
Mention KREW_ROOT on instruction (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor authored May 11, 2022
1 parent d3c7635 commit ecf11e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/krew/cmd/internal/setup_check.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ the following to your %s
and restart your shell.`
instructionZsh = `~/.zshrc:
export PATH="${PATH}:${HOME}/.krew/bin"`
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"`
instructionBash = `~/.bash_profile or ~/.bashrc:
export PATH="${PATH}:${HOME}/.krew/bin"`
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"`
instructionFish = `config.fish:
set -gx PATH $PATH $HOME/.krew/bin`
set -q KREW_ROOT; and set -gx PATH $PATH $KREW_ROOT/.krew/bin; or set -gx PATH $PATH $HOME/.krew/bin`
instructionGeneric = `~/.bash_profile, ~/.bashrc, or ~/.zshrc:
export PATH="${PATH}:${HOME}/.krew/bin"`
export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"`
)

func IsBinDirInPATH(paths environment.Paths) bool {
Expand Down

0 comments on commit ecf11e9

Please sign in to comment.