Created
December 9, 2008 10:17
-
-
Save hitode909/33863 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# this script will setup dotfiles in repository to your home directory. | |
# please fix dotfiles_path before running this script (if needed). | |
HOME_PATH=~ | |
DOTFILES_PATH=~/archives/dotfiles | |
mkdir ${HOME_PATH}/.old_dotfiles | |
for file in bashrc zshrc screenrc set_proxy elisp emacs.el | |
do | |
echo "${file}" | |
mv ${HOME_PATH}/.${file} ${HOME_PATH}/.old_dotfiles/.${file} | |
ln -s ${DOTFILES_PATH}/${file} ${HOME_PATH}/.${file} | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment