Added some git config

This commit is contained in:
2021-12-12 09:27:34 -05:00
parent 999427b382
commit c845c27291
7 changed files with 66 additions and 3 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
**/.DS_Store
**/Brewfile.lock.json

View File

@@ -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

37
git/.config/git/gitignore Normal file
View File

@@ -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

View File

@@ -1,3 +1,6 @@
[core]
excludesfile = ~/.config/git/gitignore
[user]
name = Michael Housh
email = mhoush@houshhomeenergy.com

View File

@@ -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"

View File

@@ -19,3 +19,5 @@ zsh_add_file "zsh-aliases"
zsh_add_file "zsh-zinit"
export EDITOR="nvim"
cat < "$ZDOTDIR/banner"

10
zsh/.config/zsh/banner Normal file
View File

@@ -0,0 +1,10 @@
_ _
_ __ ___ | |__ ___ _ _ ___ | |__
| '_ ` _ \ _____ | '_ \ / _ \ | | | |/ __|| '_ \
| | | | | ||_____|| | | || (_) || |_| |\__ \| | | |
|_| |_| |_| |_| |_| \___/ \__,_||___/|_| |_|