13 lines
310 B
Bash
Executable file
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
|