class Vagrant::Util::InstallBashShellConfig

Install autocomplete script to bash config located as .bashrc or .bash_profile

Public Class Methods

new() click to toggle source
Calls superclass method Vagrant::Util::InstallShellConfig::new
# File lib/vagrant/util/install_cli_autocomplete.rb, line 88
def initialize
  string_insert = ". #{File.join(Vagrant.source_root, 'contrib', 'bash', 'completion.sh')}".freeze
  config_paths = [".bashrc".freeze, ".bash_profile".freeze].freeze
  super(string_insert, config_paths)
end