unix-conf/script.sh

17 lines
360 B
Bash
Executable File

#!/bin/sh
# Emacs configuration
ln -f -s $(pwd)/.emacs.d $HOME/
if [ ! -e ${HOME}/.emacs.d/custom.el ]; then
touch ${HOME}/.emacs.d/custom.el
fi
mkdir -p $HOME/.config
# Shell configurations
ln -f -s $(pwd)/.bashrc $HOME/
ln -f -s $(pwd)/fish $HOME/.config/
ln -f -s $(pwd)/alias.sh $HOME/.config/
ln -f -s $(pwd)/path.sh $HOME/.config/