1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

add global gitignore

This commit is contained in:
Joe Groocock 2018-01-26 23:44:24 +00:00
parent cada40f9be
commit 7301d2476e
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
3 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@
rebase = true
[core]
autocrlf = input
excludesfile = /home/frebib/.config/git/gitignore
[diff]
algorithm = patience
[sendemail]

1
.config/git/gitignore Normal file
View File

@ -0,0 +1 @@
.idea/

View File

@ -93,6 +93,7 @@ alias -s git="git clone --recursive"
# Git Aliases
alias g=git
alias gignore='$EDITOR .gitignore'
alias ggignore='$EDITOR ~/.config/git/gitignore'
alias gcl="git clone --recursive"
alias gco="git checkout"
alias gcom="git checkout master"
@ -249,6 +250,7 @@ alias ssha='eval `ssh-agent` ; ssh-add'
alias aliases="$EDITOR $DOTFILES/aliases ; exec zsh"
alias vimrc="$EDITOR $MYVIMRC"
alias zshrc="$EDITOR ~/.zshrc ; exec zsh"
alias gitrc="$EDITOR ~/.config/git/config"
alias xinitrc="$EDITOR ~/.xinitrc"
alias xresources="$EDITOR ~/.Xresources ; xrdb merge ~/.Xresources"
alias xsession="$EDITOR ~/.xsession"