Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

JTarasovic/configuration

Repository files navigation

Configuration

Remote repository for my configuration files

Fedora

  • git clone https://github.com/jtarasovic/configuration.git ~/.dotfiles && ~/.dotfiles/install/fedora.sh

Additional files are symlinked to their corresponding dot file in ~/

Practical guide to which files get sourced when

  • Opening a new Terminal window/tab:
    • bash
      • OS X: .bash_profile or .profile (1st found)
      • Linux: .profile (Ubuntu, once per desktop login session) + .bashrc
    • zsh
      • OS X: .zshenv + .zprofile + .zshrc
      • Linux: .profile (Ubuntu, once per desktop login session) + .zshenv + .zshrc
  • Logging into a system via SSH:
    • bash: .bash_profile or .profile (1st found)
    • zsh: .zshenv + .zprofile + .zshrc
  • Executing a command remotely with ssh or Capistrano:
    • bash: source file in $BASH_ENV
    • zsh: .zshenv
  • Remote git hook triggered by push over SSH:
    • no init files get sourced, since hooks are running within a restricted shell
    • PATH will be roughly: /usr/libexec/git-core:/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin

HT

zsh

  • Basic flow
    • zshenv
      • env.sh
      • path.sh
    • zprofile
    • zshrc
      • zsh-completion
      • misc.sh
        • <$(brew --prefix nvm)/nvm.sh>
        • <~/.rvm/scripts/rvm>
        • <~/perl5/perlbrew/etc/bashrc>
        • npm_completion
        • prompt.sh - sets up prompt
        • gitconfig.sh
          • email.sh - gitignored. contains email address
      • aliases.sh
      • zsh-syntax-highlighting

About

Remote repository for my configuration files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published