legacy-dotfiles/install.sh
2010-11-22 19:53:11 +01:00

27 lines
711 B
Bash
Executable file

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"
ln -sf $INSTALL_BASEDIR/.Xmodmap $HOME/.Xmodmap
# PINERC
echo "Linking $INSTALL_BASEDIR/pinerc to $HOME/.pinerc"
ln -sf $INSTALL_BASEDIR/pinerc $HOME/.pinerc
# CANTORC
echo "Linking $INSTALL_BASEDIR/canto to $HOME/.canto"
ln -sf $INSTALL_BASEDIR/canto $HOME/.canto
#for item in `ls`; do
# if [ -d $item ]; then
# if [ -e $item/install.sh ]; then
# . $item/install.sh $INSTALL_BASEDIR
# fi
# fi
#done