add: git config
This commit is contained in:
parent
270f3030f1
commit
918a0708a6
3 changed files with 28 additions and 5 deletions
15
.bashrc
15
.bashrc
|
@ -17,6 +17,13 @@ if [ -f ~/.bash_colours ]; then
|
||||||
source ~/.bash_colours
|
source ~/.bash_colours
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
||||||
|
|
||||||
|
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin
|
||||||
|
|
||||||
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
|
if [ -f /usr/share/git/completion/git-prompt.sh ]; then
|
||||||
source /usr/share/git/completion/git-prompt.sh
|
source /usr/share/git/completion/git-prompt.sh
|
||||||
else
|
else
|
||||||
|
@ -31,9 +38,7 @@ if [ -f ~/.bash_aliases.local ]; then
|
||||||
source ~/.bash_aliases.local
|
source ~/.bash_aliases.local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PS1="$PURPLE\u$nc@$BLUE\H$nc:$GREEN\w$YELLOW"'$(__git_ps1)'"$nc\\n$GREEN\$$nc "
|
if [ -f ~/.bashrc.local ]; then
|
||||||
|
source ~/.bashrc.local
|
||||||
|
fi
|
||||||
|
|
||||||
export PATH=/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:~/bin
|
|
||||||
|
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
||||||
gpgconf --launch gpg-agent
|
|
||||||
|
|
12
.config/git/config
Normal file
12
.config/git/config
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
[user]
|
||||||
|
email = tobias@msrg.cc
|
||||||
|
name = Tobias Reisinger
|
||||||
|
signingkey = 723B78C0BF8D8C721D2C4EEF41E544A54E2533B2
|
||||||
|
[core]
|
||||||
|
editor = vim
|
||||||
|
pager = less
|
||||||
|
excludesfile = /home/tr3isinger/.config/git/ignore
|
||||||
|
[help]
|
||||||
|
autocorrect = 20
|
||||||
|
[diff]
|
||||||
|
external = /home/tr3isinger/.config/git/ext_diff.sh
|
6
.config/git/ignore
Normal file
6
.config/git/ignore
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
venv/
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
|
||||||
|
*.swp
|
||||||
|
*.swo
|
Loading…
Reference in a new issue