Module: Terminalwire::Shells

Defined in:
lib/terminalwire/shells.rb

Defined Under Namespace

Classes: Collection, Shell

Constant Summary collapse

All =
Collection.configure do
  shell "bash" do
     %w[~/.bash_profile ~/.bash_login ~/.profile]
    interactive_file "~/.bashrc"
    logout_file "~/.bash_logout"
  end

  shell "zsh" do
     %w[~/.zprofile ~/.zshenv]
    interactive_file "~/.zshrc"
    logout_file "~/.zlogout"
  end

  shell "sh" do
     %w[~/.profile]
  end

  shell "dash" do
     %w[~/.profile]
  end

  shell "fish" do
    interactive_file "~/.config/fish/config.fish"
  end

  shell "ksh" do
     %w[~/.profile]
    interactive_file "~/.kshrc"
  end

  shell "csh" do
     %w[~/.cshrc ~/.login]
    interactive_file "~/.cshrc"
    logout_file "~/.logout"
  end

  shell "tcsh" do
     %w[~/.cshrc ~/.login]
    interactive_file "~/.cshrc"
    logout_file "~/.logout"
  end
end