1cad1fccda
Also organized the links in install.sh alphabetically, don't ask me why, I don't know...
31 lines
536 B
Bash
Executable file
31 lines
536 B
Bash
Executable file
#!/bin/bash
|
|
INSTALL_BASEFILE=`readlink -f $0`
|
|
INSTALL_BASEDIR=`dirname $INSTALL_BASEFILE`
|
|
|
|
CMD="ln -sfn"
|
|
|
|
function linkmy
|
|
{
|
|
echo "Linking $INSTALL_BASEDIR/$1 to $HOME/$2"
|
|
$CMD $INSTALL_BASEDIR/$1 $HOME/$2
|
|
}
|
|
|
|
# AWESOME
|
|
linkmy config/awesome .config/awesome
|
|
# EMACS
|
|
linkmy emacs .emacs
|
|
linkmy emacs.d .emacs.d
|
|
# IRSSI
|
|
linkmy irssi .irssi
|
|
# NCMPCPP
|
|
linkmy ncmpcpp .ncmpcpp
|
|
# VIM
|
|
linkmy vimrc .vimrc
|
|
linkmy vim .vim
|
|
# XDEFAULTS
|
|
linkmy Xdefaults .Xdefaults
|
|
# XMODMAP
|
|
linkmy Xmodmap .Xmodmap
|
|
# ZSH
|
|
linkmy zshrc .zshrc
|
|
linkmy zsh .zsh
|