mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 04:29:29 +01:00
gitconfig: First commit.
It doesn't have user nor github blocks, see http://help.github.com/ for help about adding them. I am probably soon committing my vimrc too.
This commit is contained in:
parent
894b38dff2
commit
02f594ae4a
1
.cat.sh
1
.cat.sh
@ -3,3 +3,4 @@
|
||||
cat bashrc > ~/.bashrc
|
||||
cat tmux.conf > ~/.tmux.conf
|
||||
cat zshrc > ~/.zshrc
|
||||
#cat gitconfig > ~/.gitconfig # I usually do not want this to be overridden so much.
|
||||
|
17
gitconfig
Normal file
17
gitconfig
Normal file
@ -0,0 +1,17 @@
|
||||
[alias]
|
||||
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
|
||||
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
|
||||
# From http://progit.org/book/ch2-7.html
|
||||
last = cat-file commit HEAD
|
||||
[core]
|
||||
editor = vim
|
||||
[color]
|
||||
# From git manpage and http://book.git-scm.com/5_customizing_git.html
|
||||
branch = true
|
||||
diff = true
|
||||
grep = true
|
||||
interactive = true
|
||||
pager = true
|
||||
showbranch = true
|
||||
status = true
|
||||
ui = true
|
Loading…
Reference in New Issue
Block a user