lib/sym/app/commands/bash_completion.rb in sym-2.8.5 vs lib/sym/app/commands/bash_completion.rb in sym-2.10.0
- old
+ new
@@ -13,11 +13,11 @@
def execute
file = opts[:bash_support]
out = ''
- Sym::Constants::Bash::Config.each_pair do |key, config|
+ Sym::Constants::Bash::CONFIG.each_pair do |key, config|
script_name = key.to_s
# This removes the old version of this file.
remove_old_version(out, config[:dest])
@@ -41,10 +41,10 @@
end
end
out << "\nPlease reload your terminal session to activate bash completion\n"
out << "and other installed BASH utilities.\n"
out << "\nAlternatively, just type #{"source #{file}".bold.green} to reload BASH.\n"
- out << "Also — go ahead and try running #{"sym -h".bold.blue} and #{"symit -h".bold.blue}.\n"
+ out << "Also — go ahead and try running #{'sym -h'.bold.blue} and #{'symit -h'.bold.blue}.\n"
end
private
def append_completion_script(file, script)