1

Globally ignore .DS_Store

This commit is contained in:
Evan Pratten 2024-07-07 10:58:54 -04:00
parent 270e4c461b
commit 41aa873737
4 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,9 @@
email = evan@ewpratten.com email = evan@ewpratten.com
name = Evan Pratten name = Evan Pratten
[core]
excludesFile = ~/.gitignore
[init] [init]
defaultBranch = master defaultBranch = master

2
configs/global.gitignore Normal file
View File

@ -0,0 +1,2 @@
# Don't track macos .DS_Store files
.DS_Store

View File

@ -59,6 +59,7 @@ fi
# Configure Git # Configure Git
ln -sf $EWCONFIG_ROOT/configs/.gitconfig ~/.gitconfig ln -sf $EWCONFIG_ROOT/configs/.gitconfig ~/.gitconfig
ln -sf $EWCONFIG_ROOT/configs/global.gitignore ~/.gitignore
# Configure SSH # Configure SSH
ln -sf $EWCONFIG_ROOT/configs/ssh/config ~/.ssh/config ln -sf $EWCONFIG_ROOT/configs/ssh/config ~/.ssh/config

View File

@ -32,6 +32,7 @@ ln -sf $EWCONFIG_ROOT/configs/windows-terminal/settings.json $LOCALAPPDATA/Packa
# Configure Git # Configure Git
ln -sf $EWCONFIG_ROOT/configs/.gitconfig ~/.gitconfig ln -sf $EWCONFIG_ROOT/configs/.gitconfig ~/.gitconfig
ln -sf $EWCONFIG_ROOT/configs/global.gitignore ~/.gitignore
# Configure Vim # Configure Vim
ln -sf $EWCONFIG_ROOT/configs/vim/.vimrc ~/.vimrc ln -sf $EWCONFIG_ROOT/configs/vim/.vimrc ~/.vimrc