No description, website, or topics provided.
Emacs Lisp Shell Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
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 | | |