class Pixiebox::Shell::Bash
Public Instance Methods
filename()
click to toggle source
# File lib/pixiebox/shell/bash.rb, line 4 def filename [ '.bashrc', '.bash_profile', '.bash_login', '.profile' ].map do |script| Pathname.new("#{os.home_dir}/#{script}") end.select do |file| file.exist? end.first.to_path end