Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 36 lines (29 sloc) 0.658 kb
#!/bin/bash
export DOTFILES=$(pwd)
replace () {
if [ -z "$2" ]; then
target="$HOME/.$1"
else
target="$2"
fi
[ -e $target ] && rm $target
ln "$1" $target
}
echo Creating default ~/.bashrc
if [ -e /c ]; then
# windows
echo ". $DOTFILES/bashrc_win" > ~/.bashrc
else
echo ". $DOTFILES/bashrc" > ~/.bashrc
$DOTFILES/gnome/solarized.sh dark
echo Replacing tmux configuration files
cd tmux
replace tmux.conf
replace tmuxcolors.conf
cd ..
echo Adding apt-install to /bin
APT_INSTALL="/bin/apt-install"
[ -e $APT_INSTALL ] || sudo ln -s $DOTFILES/bin/apt-install $APT_INSTALL
fi
replace inputrc "$HOME/.inputrc"
./configure_git_defaults.sh
Jump to Line
Something went wrong with that request. Please try again.