Bash: fix dotfiles update alias.

This commit is contained in:
Artem Sapegin 2013-02-16 01:08:09 +04:00
parent 7ef99ab974
commit 6eb8401eed

View File

@ -43,7 +43,7 @@ alias rm="rm -i"
alias update="source "$HOME/dotfiles/setup/update.sh""
# Update dotfiles
alias dotfiles="cd "$HOME/dotfiles" && git pull && ./sync.py && . "$HOME/.bashrc" && cd - > /dev/null 2>&1 && nyan"
alias dotfiles="pushd "$HOME/dotfiles" > /dev/null 2>&1; git pull && ./sync.py && . "$HOME/.bashrc"; popd > /dev/null 2>&1; nyan"
# 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"