Updates git configuration

This commit is contained in:
Alicia Sykes 2022-08-12 12:22:26 +01:00
parent 36f1b4bbbb
commit 1ab193b238
4 changed files with 40 additions and 1 deletions

View File

@ -17,6 +17,7 @@
~/.local/share/tmux: tpm
~/.config/utils: utils
~/.gitconfig: configs/.gitconfig
~/.config/.gitignore_global: configs/.gitignore_global
~/.config/curl/.curlrc: configs/.curlrc
~/.Brewfile:
if: '[ `uname` = Darwin ]'

View File

@ -1,5 +1,4 @@
# Global Git Configuration
# Heavily inspired by pksunkara's https://gist.github.com/pksunkara/988716
[user]
name = Alicia Sykes
@ -13,6 +12,7 @@
editor = nvim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
excludesfile = ~/.config/.gitignore_global
[web]
browser = firefox
[instaweb]

37
configs/.gitignore_global Normal file
View File

@ -0,0 +1,37 @@
# Linux
*~
.fuse_hidden*
.directory
.Trash-*
.nfs*
# MacOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
*.icloud
# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.lnk

View File

@ -26,6 +26,7 @@ brew 'exa'
brew 'fzf'
brew 'glances'
brew 'gotop'
brew 'iproute2mac'
brew 'jq'
brew 'lazydocker'
brew 'scc'