Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update caveats for google-cloud-sdk #32124

Merged
merged 1 commit into from
Apr 9, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions Casks/google-cloud-sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

uninstall delete: "#{staged_path}/#{token}" # Not actually necessary, since it would be deleted anyway. It is present to make clear an uninstall was not forgotten and that for this cask it is indeed this simple.

caveats do
"#{token} is installed at #{staged_path}/#{token}. Add your profile:
caveats <<-EOS.undent
#{token} is installed at #{staged_path}/#{token}. Add your profile:

for bash users
source '#{staged_path}/#{token}/path.bash.inc'
Expand All @@ -25,11 +25,5 @@
for zsh users
source '#{staged_path}/#{token}/path.zsh.inc'
source '#{staged_path}/#{token}/completion.zsh.inc'

for fish users
set fish_user_paths #{staged_path}/#{token}/bin
set -x MANPATH #{staged_path}/#{token}/help/man /usr/local/share/man /usr/share/man /opt/x11/share/man

Run fish_update_completions to generate completions for fish based on the man pages"
end
EOS
end