Refactor install scripts

- Support emacs installation
- Export DOTFILES env var to simplify setup.
- Change filenames for consistency
This commit is contained in:
William Carroll 2018-04-25 13:35:55 -04:00
parent 3c8e6f0cc5
commit 3135e5faf2
5 changed files with 4 additions and 8 deletions

View file

@ -1,4 +1,5 @@
export META_DIR="${HOME}/urbint/meta"
export DOTFILES="${HOME}/dotfiles"
export ZSH="${HOME}/.oh-my-zsh"
ZSH_THEME=refined

View file

@ -1 +0,0 @@
("~/urbint/meta/" "~/urbint/grid-front-end/" "~/dotfiles/" "~/urbint/evil-text-objects-javascript/" "~/pc_settings/" "~/programming/doom-emacs/" "~/urbint/evil-text-objects-haskell/" "~/urbint/grid/" "~/urbint/machina/" "~/urbint/grid-front-end-reasonml/" "~/urbint/docker-images/" "~/programming/cryptocurrency/" "~/programming/a-reason-react-tutorial/")

View file

@ -1,9 +1,5 @@
#!/usr/bin/env zsh
# install custom bin/ executables to $HOME/bin
source "${HOME}/dotfiles/bins/setup_bins.sh"
# symlink config files
source "${HOME}/dotfiles/configs/setup_configs.sh"
source "${DOTFILES}/bins/setup"
source "${DOTFILES}/configs/setup"
ln -s "${DOTFILES}/emacs.d" "${HOME}/.emacs.d"