mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
Merge branch 'master' of github.com:tedkulp/dotfiles
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export ASDF_NODEJS_LEGACY_FILE_DYNAMIC_STRATEGY=latest_installed
|
||||
|
||||
asdf-up() {
|
||||
plugin=$1
|
||||
cur_version=`asdf current ${plugin} | tr -s ' ' | cut -d ' ' -f 2`
|
||||
|
||||
@@ -15,3 +15,5 @@ function p () {
|
||||
}
|
||||
|
||||
alias pl="p -l"
|
||||
alias jqp="jq . | p -l json"
|
||||
alias yqp="yq . | p -l yaml"
|
||||
|
||||
@@ -34,6 +34,15 @@
|
||||
|
||||
[alias]
|
||||
mdr = merge --no-commit --no-ff
|
||||
dlb = "dead-local-branches"
|
||||
ddlb = "delete-dead-local-branches"
|
||||
fdlb = "force-delete-dead-local-branches"
|
||||
dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }'"
|
||||
delete-dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | xargs -r git branch -d"
|
||||
force-delete-dead-local-branches = "!git branch -vv | grep ': gone]'| grep -v '\\*' | awk '{ print $1; }' | xargs -r git branch -D"
|
||||
|
||||
[init]
|
||||
defaultBranch = main
|
||||
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
|
||||
Reference in New Issue
Block a user