lib/rconf/support/environment_updater.rb in rconf-0.8.10 vs lib/rconf/support/environment_updater.rb in rconf-0.8.11

- old
+ new

@@ -43,10 +43,10 @@ # === Return # true:: If bash resource or profile file was updated # false:: Otherwise def do_update(code, dependencies=[]) if Platform.darwin? - candidates = [ '.bash_profile' ] + candidates = [ '.bash_profile', '.bash_login', '.profile' ] else candidates = ['.bash_profile', '.bashrc'] end candidates.map! { |c| File.join(ENV['HOME'], c) } bashrc_path = candidates.detect { |c| File.exist?(c) }