lib/sym/app/commands/bash_completion.rb in sym-2.1.1 vs lib/sym/app/commands/bash_completion.rb in sym-2.1.2
- old
+ new
@@ -5,10 +5,9 @@
class BashCompletion < BaseCommand
required_options [:bash_completion]
try_after :generate_key, :open_editor, :encrypt_decrypt
-
def execute
install_completion_file
file = opts[:bash_completion]
if File.exist?(file)
if File.read(file).include?(Sym::BASH_COMPLETION[:script])