Fine-tune my shell and git configs.
This commit is contained in:
parent
569910b5cb
commit
f09611c720
2 changed files with 25 additions and 0 deletions
3
.ashrc
3
.ashrc
|
@ -11,6 +11,9 @@ is_ssh() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# The shell might not start in the home directory.
|
||||||
|
cd "$HOME"
|
||||||
|
|
||||||
# Signal to some programs that vi is the editor that should be launched.
|
# Signal to some programs that vi is the editor that should be launched.
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
|
||||||
|
|
22
.gitconfig
22
.gitconfig
|
@ -3,11 +3,33 @@
|
||||||
# Please adapt and uncomment the following lines:
|
# Please adapt and uncomment the following lines:
|
||||||
name = Jordan Bancino
|
name = Jordan Bancino
|
||||||
email = jordan@bancino.net
|
email = jordan@bancino.net
|
||||||
|
signingkey = /home/jordan/.ssh/id_ed25519.pub
|
||||||
[push]
|
[push]
|
||||||
autoSetupRemote = yes
|
autoSetupRemote = yes
|
||||||
|
gpgsign = true
|
||||||
[credential]
|
[credential]
|
||||||
helper = store
|
helper = store
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = master
|
defaultBranch = master
|
||||||
|
[transfer]
|
||||||
|
fsckobjects = true
|
||||||
|
[fetch]
|
||||||
|
fsckobjects = true
|
||||||
|
prune = true
|
||||||
|
[receive]
|
||||||
|
fsckObjects = true
|
||||||
|
[url "git.github.com:"]
|
||||||
|
insteadOf = "https://github.com"
|
||||||
|
[branch]
|
||||||
|
sort = -comitterdate
|
||||||
|
[diff]
|
||||||
|
context = 10
|
||||||
|
colorMoved = default
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
[tag]
|
||||||
|
gpgsign = true
|
||||||
|
|
Loading…
Reference in a new issue