Skip to content

Commit

Permalink
Add global gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
dankimio committed Jan 6, 2025
1 parent 6abf2c9 commit 5f7625d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = Dan Kim
email = [email protected]
[core]
editor = "code -w"
editor = "zed -w"
excludesFile = ~/.gitignore
[alias]
aa = add --all
lg = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short
Expand Down
2 changes: 2 additions & 0 deletions gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
*.rdb
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUNZSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/

rm -f ~/.zshrc

files="gemrc gitconfig hushlogin irbrc rubocop.yml zshrc"
files="gemrc gitconfig gitignore hushlogin irbrc rubocop.yml zshrc"
for file in $files; do
echo "Creating symlink to $file in home directory."
ln -s $dir/$file ~/.$file
Expand Down

0 comments on commit 5f7625d

Please sign in to comment.