Fine-tune my shell and git configs.

This commit is contained in:
Jordan Bancino 2024-02-16 16:02:12 -05:00
parent 569910b5cb
commit f09611c720
Signed by: jordan
SSH key fingerprint: SHA256:lRUOrki6+e1vo47tj4BoyALNvOhW/yGXq08lqmaNvkw
2 changed files with 25 additions and 0 deletions

3
.ashrc
View file

@ -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

View file

@ -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