shoestrap/minimal

48 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2020-03-07 00:10:52 +00:00
#!/bin/bash
# Initialization - DO NOT REMOVE
. helpers/initialize
##############################################################
### Customizations start here ################################
##############################################################
# Get current directory for future use in links
cd "$(dirname "$0")" || { echo "Could not change directory to $0"; exit 1;}
PROJECT_DIR=$(pwd)
export PROJECT_DIR
detect_package_manager
init_paths_and_vars
# Do prompting early to make longer install easier
install_packages=false
if ! is_installed "packages" || prompt_yn "Reinstall packages?" ; then
install_packages=true
fi
2022-04-05 17:27:56 +00:00
# Run recipes
2020-03-07 00:10:52 +00:00
if $install_packages ; then
recipe 'packages'
set_installed "packages"
fi
recipe 'dotfiles'
recipe 'bin'
if [ "$(uname)" == 'Darwin' ]; then
recipe 'mac-files'
recipe 'mac-bin'
fi
recipe 'git'
recipe 'vim-settings'
recipe 'fish'
git submodule init
git submodule update
### Show the Finished banner
finished
# vim: set tabstop=2:softtabstop=2:shiftwidth=2:expandtab