legacy-dotfiles/install.sh

20 lines
492 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
#for item in `ls`; do
# if [ -d $item ]; then
# if [ -e $item/install.sh ]; then
# . $item/install.sh $INSTALL_BASEDIR
# fi
# fi
#done