Skip to content

Commit

Permalink
Ensure .emacs.d is a git repository
Browse files Browse the repository at this point in the history
The current copy operation omits hidden files and folders which means that `.git` is not copied and `.emacs.d` is not a git respository. This makes it much more difficult to update emacs-live later.

This change ensures that the entire contents of `$tmp_dir/overtone-emacs-live` is copied to `~/.emacs.d`, including `.git`.
  • Loading branch information
joelittlejohn committed Jan 9, 2014
1 parent c5fa2e9 commit 03b6b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/install-emacs-live.sh
Expand Up @@ -154,7 +154,7 @@ To revert back to your old Emacs configs simply:
fi

mkdir ~/.emacs.d
cp -R $tmp_dir/overtone-emacs-live/* ~/.emacs.d
cp -R $tmp_dir/overtone-emacs-live/. ~/.emacs.d
echo $(tput setaf 4)"Personal Pack"
echo "-------------"$(tput sgr0)
echo ""
Expand Down

0 comments on commit 03b6b0c

Please sign in to comment.