Skip to content

Commit

Permalink
Add global gitignore file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishb committed Jul 24, 2014
1 parent 9c57f48 commit 34681ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
### https://raw.github.com/github/gitignore/f8ac87bd8f39ff8dd148f571f338d8e558410695/Global/vim.gitignore

[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~


2 changes: 2 additions & 0 deletions setup_dotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ ln -s $DIR/_inputrc ~/.inputrc
echo "Overwriting up $HOME/.gitconfig"
echo -e "[include]\n path = $DIR/_gitconfig" > $HOME/.gitconfig

echo "Configuring global gitignore file"
git config --global core.excludesfile $DIR/_gitignore

0 comments on commit 34681ca

Please sign in to comment.