You can clone the repository wherever you want. The bootstrapper script will create symlinks in the home directory to the proper files. When the git repo is updated, the files will be automatically updated when the session is restarted.
git clone https://github.com/weikinhuang/dotfiles.git && cd dotfiles && ./bootstrap.sh
To source these files, type:
curl https://raw.github.com/weikinhuang/dotfiles/master/install.sh | sh
To update later on, just run that command again, and will create backups to the current files with a *.bak extension.
If ~/.bash_local_exports
exists, it will be sourced before the includes are included.
If ~/.bash_local
exists, it will be sourced after the includes are included.
[exitstatus jobs time load user@host workdir<#files|filesize> (git info)]$
The prompt
[06:00:00 0.00 user#host ayi<4|2.4Mb> (master %)]$ [(E:1) 06:00:00 0.00 user#host ayi<4|2.4Mb> (master %)]$ [(E:1) bg:2 06:00:00 0.00 user#host ayi<4|2.4Mb> (master %)]$
When on ssh
on ssh ------------| [06:00:00 0.00 user@host ayi<4|2.4Mb> (master %)]$
When on screen host is replaced with session name and is underlined.
load = cpu% on cygwin load = 1 min load avg on *nix/osx
Turn off the load indicator (speeds up the cygwin prompt by a bit)
export _PS1_HIDE_LOAD=1