File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{{ $email := promptStringOnce . " email" " Email Address (Git, GPG, etc.)" -}}
22{{ $gitName := promptStringOnce . " gitName" " Name to use for git actions" -}}
3+ {{ $gitBranchPrefix := promptStringOnce . " gitBranchPrefix" " Prefix to apply to new git branches by default" -}}
34{{ $gitHooksPath := promptStringOnce . " gitHooksPath" " Custom core Git hooks path" -}}
45{{ $gui := promptBoolOnce . " gui" " Enable GUI options" -}}
56{{ $defaultPkgType := " brew" -}}
3132 useLinuxBrew = {{ $useLinuxBrew | toToml }}
3233 tags = {{ get $ " tags" | default list | toToml }}
3334 brewPrefix = {{ $brewPrefix | toToml }}
35+ gitBranchPrefix = {{ $gitBranchPrefix | toToml }}
Original file line number Diff line number Diff line change @@ -4,3 +4,7 @@ alias ll="ls -l"
44alias la= " ls -la"
55alias gcloud-reauth= " gcloud auth login && gcloud auth application-default login"
66alias git-prune-all= " git fetch --all && git remote prune origin && git branch -v | grep -v '^*' | grep '\\ [gone\\ ]' | awk '{print \$ 1}' | xargs git branch -d"
7+
8+ new-branch() {
9+ git checkout -b " {{ .gitBranchPrefix }}$1"
10+ }
You can’t perform that action at this time.
0 commit comments