diff --git a/.ashrc b/.ashrc index d543b21..cd95be0 100644 --- a/.ashrc +++ b/.ashrc @@ -11,6 +11,9 @@ is_ssh() { 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. export EDITOR=vim diff --git a/.gitconfig b/.gitconfig index c164a8b..88e0e0c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -3,11 +3,33 @@ # Please adapt and uncomment the following lines: name = Jordan Bancino email = jordan@bancino.net + signingkey = /home/jordan/.ssh/id_ed25519.pub [push] autoSetupRemote = yes + gpgsign = true [credential] helper = store [pull] rebase = false [init] 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