diff --git a/Readme.md b/Readme.md index 17a0c18..756f253 100644 --- a/Readme.md +++ b/Readme.md @@ -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 ``` -It’will clone latest version of dotfiles to `~/dotfiles` and make symlinks in your home directory. +It’ll 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 diff --git a/includes/bash_aliases.bash b/includes/bash_aliases.bash index 0c5c853..806748f 100644 --- a/includes/bash_aliases.bash +++ b/includes/bash_aliases.bash @@ -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"