diff --git a/.gitmodules b/.gitmodules index f20dc5b..4a2508a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -42,7 +42,7 @@ url = https://github.com/nojhan/liquidprompt.git [submodule "dot-files/oh-my-zsh"] path = dot-files/oh-my-zsh - url = https://github.com/robbyrussell/oh-my-zsh.git + url = git@github.com:robbyrussell/oh-my-zsh.git [submodule "dot-files/vim/bundle/SearchComplete"] path = dot-files/vim/bundle/SearchComplete url = https://github.com/vim-scripts/SearchComplete.git @@ -61,3 +61,9 @@ [submodule "lib/zgen"] path = lib/zgen url = https://github.com/tarjoilija/zgen +[submodule "dot-files/vim/bundle/vim-go.git"] + path = dot-files/vim/bundle/vim-go.git + url = git@github.com:fatih/vim-go.git +[submodule "dot-files/zsh_custom/themes/powerlevel10k"] + path = dot-files/zsh_custom/themes/powerlevel10k + url = git@github.com:romkatv/powerlevel10k.git diff --git a/dot-files/gitconfig b/dot-files/gitconfig index 52129c7..7b2dcaf 100644 --- a/dot-files/gitconfig +++ b/dot-files/gitconfig @@ -1,10 +1,12 @@ [user] - name = Peter Stone - email = thepeterstone@gmail.com + name = Peter Stone + email = stonepe@vmware.com + signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIP8oTkPQdemPHbTEOGiUt6YOlyRskb2tZFQlGg1fp78u [core] - excludesfile = $HOME/.cvsignore - autocrlf = input + excludesfile = $HOME/.cvsignore + autocrlf = input + pager = delta [alias] blog="log origin/master... --left-right" @@ -15,19 +17,13 @@ dc=diff --cached di=diff ds="diff --staged" - fixup="commit --fixup" ff="pull --ff-only" + fixup="commit --fixup" flog="log --pretty=fuller --decorate" + force="push --force-with-lease" llog="log --date=local" lol="log --graph --decorate --oneline" lola="log --graph --decorate --oneline --all" - root = rev-parse --show-toplevel - rum="rebase master@{u}" - squash="commit --squash" - st = status - sta=stash - sur="submodule update --init --recursive" - unstage="reset HEAD" pr = "!f() { git fetch $1 refs/pull-requests/$2/merge:pr-$2; git checkout pr-$2; } ; f" prettylog = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' root = rev-parse --show-toplevel @@ -39,21 +35,54 @@ unstage="reset HEAD" [color] - interactive = always - ui = auto + interactive = always + ui = auto -[grep] - lineNumber = true +[commit] + gpgsign = true -[rebase] - stat = true +[delta] + navigate = true + side-by-side = true +[diff] + colorMoved = default -[push] - default = simple [fetch] - prune = true + prune = true + +[gpg] + format = ssh + +[gpg "ssh"] + program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign + +[grep] + lineNumber = true + +[interactive] + diffFilter = delta --color-only [init] - defaultBranch = main + defaultBranch = main + +[merge] + conflictstyle = zdiff3 + [pull] - ff = only + ff = only + +[push] + default = simple + +[rebase] + stat = true + +[rerere] + enabled = true + + +[url "git@github.com:"] + insteadOf = https://github.com/ +[url "git@gitlab.eng.vmware.com:"] + insteadOf = https://gitlab.eng.vmware.com/ + diff --git a/dot-files/oh-my-zsh b/dot-files/oh-my-zsh new file mode 160000 index 0000000..fcbdc33 --- /dev/null +++ b/dot-files/oh-my-zsh @@ -0,0 +1 @@ +Subproject commit fcbdc330ff50617c8b84d39ce069cc75df41108f diff --git a/dot-files/vim/bundle/vim-go.git b/dot-files/vim/bundle/vim-go.git new file mode 160000 index 0000000..735e807 --- /dev/null +++ b/dot-files/vim/bundle/vim-go.git @@ -0,0 +1 @@ +Subproject commit 735e807eb01ce30d42dde0c03ae3614d9e2d8206 diff --git a/dot-files/zsh_custom/themes/powerlevel10k b/dot-files/zsh_custom/themes/powerlevel10k new file mode 160000 index 0000000..f851f41 --- /dev/null +++ b/dot-files/zsh_custom/themes/powerlevel10k @@ -0,0 +1 @@ +Subproject commit f851f41fc14d5bd66266b4b4af917d50c1c8b7fe