Browse Source

Working on getting an emacs config started. My next project is to learn emacs

master
Drew Short 9 years ago
parent
commit
7b4d062464
  1. 0
      home/.emacs.d/init.el
  2. 14
      scripts/bootstrap.sh

0
home/.emacs.d/init.el

14
scripts/bootstrap.sh

@ -172,6 +172,20 @@ for plugin in ${plugins[@]}; do
copy_dir $VIM_BUNDLE $plugin_name $plugin false
done
# Configure emacs
EMACS_CONFIG_HOME=$HOME/.emacs.d
mkdir -p $EMACS_CONFIG_HOME
emacs_configs=($(ls -d $DOTFILES_HOME/.emacs.d/*))
for emacs_config in ${emacs_configs[@]}; do
parts=($(echo "$emacs_config" | tr '/' ' '))
emacs_config_name=${parts[-1]}
if [ -d $emacs_config ]; then
link_dir $EMACS_CONFIG_HOME $emacs_config_name $emacs_config
else
link $EMACS_CONFIG_HOME $emacs_config_name $emacs_config
fi
done
# Configure .gitconfig
link "$HOME" ".gitconfig" "$DOTFILES_HOME/.gitconfig"

Loading…
Cancel
Save