gitbash 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/_utils.sh +7 -0
- package/package.json +1 -1
package/commands/_utils.sh
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
# shellcheck disable=SC2155
|
|
3
3
|
# Common utilities for gitbash commands - compatible with bash and zsh
|
|
4
4
|
|
|
5
|
+
# Load config file if it exists
|
|
6
|
+
CONFIG_FILE="$HOME/.gitbashrc"
|
|
7
|
+
if [[ -f "$CONFIG_FILE" ]]; then
|
|
8
|
+
# shellcheck disable=SC1090
|
|
9
|
+
source "$CONFIG_FILE"
|
|
10
|
+
fi
|
|
11
|
+
|
|
5
12
|
# Color codes for consistent output
|
|
6
13
|
COLOR_RED='\033[0;31m'
|
|
7
14
|
COLOR_GREEN='\033[0;32m'
|