Enable a background highlight for the prompt.
[profile.git] / .profile.d / git-commit-tree.bashrc
index 37ec8eb..f1aca2c 100644 (file)
@@ -1,11 +1,11 @@
 # Set GIT_AUTHOR_NAME etc from dotfiles in the profile.
 function git_commit_tree() {
   local WHO=$1; shift
-  local who=${WHO,,}
+  local who="$(echo $WHO | tr '[[:upper:]]' '[[:lower:]]')"
   local WHAT=
 
   for WHAT in EMAIL NAME; do
-    local what=${WHAT,,}
+    local what="$(echo $WHAT | tr '[[:upper:]]' '[[:lower:]]')"
     local where=
 
     # Look in $HOME then $PROFILE_HOME.