dvm: improve bash profile caveats (#2018)
This commit is contained in:
parent
ec67fc9038
commit
0a8243f82f
1 changed files with 3 additions and 1 deletions
|
@ -30,7 +30,9 @@ class Dvm < Formula
|
|||
def caveats; <<-EOS.undent
|
||||
dvm is a shell function, and must be sourced before it can be used.
|
||||
Add the following command to your bash profile:
|
||||
. "$(brew --prefix dvm)/dvm.sh"
|
||||
|
||||
[[ -s "$(brew --prefix dvm)/dvm.sh" ]] && source "$(brew --prefix dvm)/dvm.sh"
|
||||
|
||||
EOS
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue