[+] Git id list script

This commit is contained in:
Hykilpikonna
2022-11-24 16:38:03 -05:00
parent fa7b51b86a
commit 08679dc542
2 changed files with 94 additions and 0 deletions
+5
View File
@@ -212,6 +212,11 @@ setproxy() {
}
# Git identity
git-ida() {
# Zsh only
TMP_ARR=("${(@f)$(git-id-list get "$1")}")
git-id "${TMP_ARR[1]}" "${TMP_ARR[2]}"
}
git-id() {
export GIT_USER="$1"
export GIT_EMAIL="$2"