Commit cd95b2b3 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Fixed zsh completions for aws (#2721)

parent 97ca2b65
...@@ -47,11 +47,11 @@ class Aws < Package ...@@ -47,11 +47,11 @@ class Aws < Package
puts "source ~/.bashrc".lightblue puts "source ~/.bashrc".lightblue
puts puts
puts "To add aws completion for zsh, execute the following:".lightblue puts "To add aws completion for zsh, execute the following:".lightblue
puts "echo '# aws completion' >> ~/.bashrc".lightblue puts "echo '# aws completion' >> ~/.zshrc".lightblue
puts "echo 'if [ -f #{CREW_PREFIX}/bin/aws_zsh_completer.sh ]; then' >> ~/.bashrc".lightblue puts "echo 'if [ -f #{CREW_PREFIX}/bin/aws_zsh_completer.sh ]; then' >> ~/.zshrc".lightblue
puts "echo ' source #{CREW_PREFIX}/bin/aws_zsh_completer.sh' >> ~/.bashrc".lightblue puts "echo ' source #{CREW_PREFIX}/bin/aws_zsh_completer.sh' >> ~/.zshrc".lightblue
puts "echo 'fi' >> ~/.bashrc".lightblue puts "echo 'fi' >> ~/.zshrc".lightblue
puts "source ~/.bashrc".lightblue puts "source ~/.zshrc".lightblue
puts puts
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment