homes/update-home.sh

11 lines
222 B
Bash
Raw Normal View History

2013-05-02 23:36:55 +02:00
#!/usr/bin/env bash
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