$ git clone https://github.com/nicksp/dotfiles.git ~/dotfiles
$ cd ~/dotfiles
$ chmod +x setup.sh
$ ./setup.sh
Alternatively, you can install this into ~/dotfiles
remotely without Git using curl:
sh -c "`curl -fsSL https://raw.github.com/nicksp/dotfiles/master/remote-setup.sh`"
Or, using wget:
sh -c "`wget -O - --no-check-certificate https://raw.githubusercontent.com/nicksp/dotfiles/master/remote-setup.sh`"
The dotfiles can be easily extended to suit additional local requirements by using the following files:
If the ~/.zsh.local
file exists, it will be automatically sourced
after all the other shell related files, thus, allowing its
content to add to or overwrite the existing aliases, settings, PATH,
etc.
If the ~/.gitconfig.local
file exists, it will be automatically
included after the configurations from ~/.gitconfig
, thus, allowing
its content to overwrite or add to the existing git
configurations.
Note: Use ~/.gitconfig.local
to store sensitive information such
as the git
user credentials, e.g.:
[user]
name = Nick Plekhanov
email = nick@example.com
The code is available under the MIT license.