Merge branch 'master' of https://github.com/adefaria/clearscm master
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Tue, 21 Mar 2023 17:24:27 +0000 (17:24 +0000)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Tue, 21 Mar 2023 17:24:27 +0000 (17:24 +0000)
bin/jira
rc/bash_login
rc/client_scripts/cPanel

index ed2f582..c84f38f 100755 (executable)
--- a/bin/jira
+++ b/bin/jira
@@ -142,9 +142,9 @@ unless ( $ARGV[0] ) {
     my ( $status, @output ) = Utils::Execute("git branch --show-current 2>&1");
 
     unless ($status) {
-        $output[0] =~ /\w+-(\d+)/;
-
-        $ARGV[0] = $1;
+        if ($output[0] =~ /(\w+-)*(\d+)/) {
+            $ARGV[0] = $2;
+       }
     }
 }
 
index 63c4e38..f7adefd 100644 (file)
@@ -201,6 +201,7 @@ fi
 alias ll="ls -la"
 alias whence="type -p"
 alias mroe=more
+alias gti=git
 
 if [ $ARCHITECTURE = "cygwin" ]; then
   alias host=nslookup
index 9721b09..de95ebd 100644 (file)
@@ -38,7 +38,7 @@ fi
 # Intended to be used for root
 WIZARD="CPanel"
 
-export CDPATH=/usr/local
+#export CDPATH=/usr/local
 export ulc=/usr/local/cpanel
 export ulp=/usr/local/cp-monitoring-cpanel-plugin
 export ulw=/usr/local/cp-monitoring-whm-plugin