Skip to content

Commit

Permalink
feat: use global .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
st3v3nhunt committed Jul 1, 2020
1 parent 3d1a029 commit 7d051bd
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
# git credential file
.gitconfig.local
.DS_Store
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# temporary
.netrwhist
*~
# auto-generated tag files
tags
# log files
*.log
# node files
Expand Down
1 change: 1 addition & 0 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
autocorrect = 1
[core]
editor = vim
excludesfile = ~/.gitignore
[user]
email = st3v3nhunt@users.noreply.github.com
name = Steven Hunt
Expand Down
9 changes: 9 additions & 0 deletions git/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# git credential file
.gitconfig.local
# swap
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
# session
Session.vim
# ctags
tags
1 change: 1 addition & 0 deletions scripts/install-dotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ln -nfsv "$DOTFILES_DIR/.zshrc" ~
ln -nfsv "$GIT_DIR/.git-prompt.sh" ~
ln -nfsv "$GIT_DIR/.git-completion.bash" ~
ln -nfsv "$GIT_DIR/.gitconfig" ~
ln -nfsv "$GIT_DIR/.gitignore" ~

if [[ "$OSTYPE" == "darwin"* ]]; then
ln -nfsv "$DOTFILES_DIR/.macos.tmux.conf" ~/.tmux.conf
Expand Down

0 comments on commit 7d051bd

Please sign in to comment.