Add git configs, remove fish aliases
j3s j3s@cyberia.club
Tue, 26 Nov 2019 09:45:04 -0600
4 files changed,
57 insertions(+),
3 deletions(-)
M
.config/fish/config.fish
→
.config/fish/config.fish
@@ -16,7 +16,4 @@ echo '$ '
end alias vi=vim -alias gs='git status' -alias gd='git diff' -alias gp='git pull --prune' source ~/.config/fish/(hostname).fish
A
.config/git/config
@@ -0,0 +1,33 @@
+[alias] + s = status + d = diff + p = pull --prune + ds = diff --staged + co = checkout + br = branch + amend = commit --amend -m + aa = add -A . + cm = commit -m + lg = log --color --graph --pretty=format:'%Cgreen%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit + lgs = log --graph --pretty=format:'%Cgreen%h%Creset - %s %C(yellow)%d' --abbrev-commit +[color] + ui = auto +[core] + excludesfile = ~/.config/git/gitignore + editor = vim + quotepath = false +[apply] + whitespace = nowarn +[difftool] + prompt = false +[submodule] + fetchJobs = 4 +[changelog] + format = * %s [%an] +[user] + name = j3s + email = j3s@cyberia.club +[includeIf "gitdir:~/git/"] + path = ~/.config/git/config-work +[includeIf "gitdir:~/howdocs/"] + path = ~/.config/git/config-work
A
.config/git/config-work
@@ -0,0 +1,11 @@
+[user] + name = Jesse Olson + email = jesse.olson@bestbuy.com +[gpg] + program = gpg +[commit] + gpgsign = true +[changelog] + format = * %s [%an] +[sendemail] + smtpserver = /usr/local/bin/msmtp
A
.config/git/gitignore
@@ -0,0 +1,13 @@
+.DS_Store +.svn +.sass-cache +.bundle +.yardoc +*~ +tags +.dir-locals.el +.projectile +GPATH +GRTAGS +GTAGS +.vscode