diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a495476 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +**/.DS_Store +**/Brewfile.lock.json diff --git a/Makefile b/Makefile index 4d7e6ff..75c0eb1 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -install-brews: +bootstrap-homebrew: + xcode-select --install | true /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + +bootsrap-brews: @brew bundle \ --no-lock \ --cleanup \ --debug \ --file "$(PWD)/macOS/.config/macOS/Brewfile" -install-apps: +bootstrap-app-store: @brew bundle \ --no-lock \ --cleanup \ @@ -16,4 +19,5 @@ install-apps: stow: @stow --stow --verbose --target ~ */ -fresh-install: install-brews stow install-apps +# Order matters, need to install home-brew first then formula +bootstrap: bootstrap-homebrew bootstrap-brews stow bootstrap-app-store diff --git a/git/.config/git/gitignore b/git/.config/git/gitignore new file mode 100644 index 0000000..773bfd6 --- /dev/null +++ b/git/.config/git/gitignore @@ -0,0 +1,37 @@ +# Compiled source # +################### +*.com +*.class +*.dll +*.exe +*.o +*.so + +# Packages # +############ +# it's better to unpack these files and commit the raw source +# git has its own built in compression methods +*.7z +*.dmg +*.gz +*.iso +*.jar +*.rar +*.tar +*.zip + +# Logs and databases # +###################### +*.log +*.sql +*.sqlite + +# OS generated files # +###################### +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db diff --git a/git/.gitconfig b/git/.gitconfig index 0e2e7e5..c14a295 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -1,3 +1,6 @@ +[core] + excludesfile = ~/.config/git/gitignore + [user] name = Michael Housh email = mhoush@houshhomeenergy.com diff --git a/macOS/.config/macOS/Brewfile b/macOS/.config/macOS/Brewfile index 9d768bb..3fb3758 100644 --- a/macOS/.config/macOS/Brewfile +++ b/macOS/.config/macOS/Brewfile @@ -1,4 +1,5 @@ tap "homebrew/cask" +tap "homebrew/cask-fonts" # TODO: Make the application directory a global variable ?? # set arguments for all 'brew install --cask' commands @@ -11,6 +12,7 @@ brew "mas" brew "neovim" brew "ripgrep" brew "stow" +brew "swift-format" brew "zsh" # casks @@ -19,3 +21,6 @@ cask "google-chrome" cask "iterm2" cask "paw" #cask "sketchup-pro" + +# fonts +cask "font-inconsolata-nerd-font" diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index a0a8651..476d80b 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -19,3 +19,5 @@ zsh_add_file "zsh-aliases" zsh_add_file "zsh-zinit" export EDITOR="nvim" + +cat < "$ZDOTDIR/banner" diff --git a/zsh/.config/zsh/banner b/zsh/.config/zsh/banner new file mode 100644 index 0000000..f4a0da5 --- /dev/null +++ b/zsh/.config/zsh/banner @@ -0,0 +1,10 @@ + + + _ _ + _ __ ___ | |__ ___ _ _ ___ | |__ +| '_ ` _ \ _____ | '_ \ / _ \ | | | |/ __|| '_ \ +| | | | | ||_____|| | | || (_) || |_| |\__ \| | | | +|_| |_| |_| |_| |_| \___/ \__,_||___/|_| |_| + + +