Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Emacs Lisp Shell Other
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.sh.d
bash.d
emacs.d
scripts
shell.d
zsh.d
.gitignore
.gitmodules
README.mdown
bash_logout
bash_profile
bashrc
bashrc.old
dotfiles.sublime-project
gitconfig
hushlogin
inputrc
install.rb
profile
zlogin
zshenv
zshrc

README.mdown

When you often work on more than one machine it turns out that it's beneficial to manage your configuration files on a POSIX system via a version control system. It will allow you to track the changes you make and also to easily use them on other machines.

The dotfiles directory hold all our configuration managed using a Git repository. When you're working with a machine onto which you'd like to clone the configuration files you clone the repository from GitHub and running the install.rb script.

shell startup file loading order

bash

files interactive login interactive non-login non-interactive non-login
/etc/profile A
/etc/bash.bashrc A
~/.bashrc B
~/.bash_profile B
~/.bash_login B
~/.profile B
BASH_ENV
~/.bash_logout C

Shell Startup files loading order

| files | interactive | interactive | non-interactive | | | login | non-login | non-login | | | log in to a remote | start a new shell | execute a script remotely | | | system via ssh | process e.g. bash | e.g. ssh ... 'echo $PWD' | | ----------------- | ------------------------- | ------------------------- | ------------------------- | | | open a new osx | open a new linux | run a script e.g. | | | terminal window | terminal window/tab | bash my-script.sh | | | | execute a script remotely | run an executable with | | | | with terminal e.g. ssh -t | #!/usr/bin/env bash | | | | | | | | | | | | /etc/profile | A | | | | /etc/bash.bashrc | | A | | | ~/.bashrc | | B | | | ~/.bash_profile | B | | | | ~/.bash_login | B | | | | ~/.profile | B | | | | BASH_ENV | | | A | | ~/.bash_logout | C | | |

Something went wrong with that request. Please try again.