Created
December 30, 2012 06:36
-
-
Save yunazuno/4411268 to your computer and use it in GitHub Desktop.
Setup the new environment.
This file contains 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 | |
# Setting up the new enviromnet. | |
ORIGIN=http://USERNAME@gitrepos.example.com/git/dotfiles.git/ | |
ORIGIN=ssh://USERNAME@gitrespos.example.com:20022/git/dotfiles.git/ | |
cd $HOME | |
git init | |
git remote add origin ${ORIGIN} | |
git config branch.master.merge refs/heads/master | |
git config branch.master.remote origin | |
git pull | |
# for zsh | |
ln -s .zsh.d/.zshenv . | |
cp .zsh.d/load.zprofile{.minimal,} | |
cp .zsh.d/load.zshrc{.minimal,} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment