diff --git a/bashrc/termux b/bashrc/termux index b92d0f1..9ae0c9f 100755 --- a/bashrc/termux +++ b/bashrc/termux @@ -42,7 +42,7 @@ if [[ $TF_PYTHON_PATH != "" ]];then fi # Export my Cloudflare API keys -source ~/.dotfiles/secrets/cloudflare.api-keys +#source ~/.dotfiles/secrets/cloudflare.api-keys # do console cleanup #clear diff --git a/gitconfig/termux b/gitconfig/termux index f41f99a..8f67658 100644 --- a/gitconfig/termux +++ b/gitconfig/termux @@ -29,3 +29,6 @@ insteadOf = https://bitbucket.org/ [init] defaultBranch = main +[alias] + change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f" + signoff = "commit --signoff"