homes/update-home.sh
Christophe Buffenoir aeb11d0c8e remove oh-my-zsh
2013-05-03 00:41:04 +02:00

13 lines
310 B
Bash
Executable file

#!/usr/bin/env bash
rm -rf ~/.oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
if [ "$1" == '--graphic' ]
then
rsync -av graphic/ ~/
fc-cache -vf ~/.fonts
fi
rsync -av common/ ~/
sed -i "s/REPLACEMEWITHFIRSTLETTEROFHOSTNAME/`expr substr \`hostname\` 1 1`/g" ~/.tmux.conf