Install dotfiles script: readme.

This commit is contained in:
Artem Sapegin 2012-10-31 16:18:52 +04:00
parent e95cfacd78
commit 0e971a4064
2 changed files with 6 additions and 3 deletions

View File

@ -8,15 +8,15 @@ curl dot.sapegin.me | bash
or
```bash
cd ~ && git clone https://github.com/sapegin/dotfiles.git && cd dotfiles && ./sync.py
curl https://raw.github.com/sapegin/dotfiles/master/install/install.sh | bash
```
Itwill clone latest version of dotfiles to `~/dotfiles` and make symlinks in your home directory.
Itll installs Git (on OS X only), clones latest version of dotfiles to `~/dotfiles` and makes symlinks in your home directory.
## Updating
```bash
cd ~/dotfiles && git pull && ./sync.py
dotfiles
```
## Screenshot

View File

@ -36,6 +36,9 @@ alias rm="rm -i"
# Get OS X Software Updates, and update installed Ruby gems, Homebrew, npm, and their installed packages
alias update="sudo softwareupdate -i -a; brew update; brew upgrade; brew cleanup; npm update npm -g; npm update -g"
# Update dotfiles
alias dotfiles="cd "$HOME/dotfiles" && git pull && ./sync.py && cd - > /dev/null 2>&1"
# Clean up LaunchServices to remove duplicates in the “Open With” menu
#alias lscleanup="/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user && killall Finder"