legacy-dotfiles/install.sh

24 lines
603 B
Bash
Raw Normal View History

INSTALL_BASEFILE=`readlink -f $0`
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
# XDEFAULTS
echo "Linking $INSTALL_BASEDIR/.Xdefaults to $HOME/.Xdefaults"
ln -sf $INSTALL_BASEDIR/.Xdefaults $HOME/.Xdefaults
# XMODMAP
echo "Linking $INSTALL_BASEDIR/.Xmodmap to $HOME/.Xmodmap"
2010-07-06 20:42:22 +02:00
ln -sf $INSTALL_BASEDIR/.Xmodmap $HOME/.Xmodmap
# PINERC
echo "Linking $INSTALL_BASEDIR/pinerc to $HOME/.pinerc"
ln -sf $INSTALL_BASEDIR/pinerc $HOME/.pinerc
2010-10-05 11:37:43 +02:00
#for item in `ls`; do
# if [ -d $item ]; then
# if [ -e $item/install.sh ]; then
# . $item/install.sh $INSTALL_BASEDIR
# fi
# fi
#done