Skip to content

Commit e36fa48

Browse files
Merge pull request #17 from StrangeRanger/dev
Add MIT copyright notice and refactor color variable declarations
2 parents da6a0c6 + fff619f commit e36fa48

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

mass-git

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
1010
####[ Global Variables ]################################################################
1111

1212

13-
C_GREEN=$'\033[0;32m'
14-
C_BLUE=$'\033[0;34m'
15-
C_CYAN=$'\033[0;36m'
16-
C_RED=$'\033[1;31m'
17-
C_NC=$'\033[0m'
18-
readonly C_GREEN C_BLUE C_CYAN C_RED C_NC
13+
readonly C_GREEN=$'\033[0;32m'
14+
readonly C_BLUE=$'\033[0;34m'
15+
readonly C_CYAN=$'\033[0;36m'
16+
readonly C_RED=$'\033[1;31m'
17+
readonly C_NC=$'\033[0m'
1918

2019
readonly C_INVALID_INPUT="${C_RED}Invalid input:${C_NC} "
21-
readonly C_SUCC="${C_GREEN}==>${C_NC} "
2220
readonly C_ERROR="${C_RED}ERROR:${C_NC} "
21+
readonly C_SUCC="${C_GREEN}==>${C_NC} "
2322
readonly C_INFO="${C_BLUE}==>${C_NC} "
2423
readonly C_NOTE="${C_CYAN}==>${C_NC} "
2524

setup.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# directory. This will allow the script to be executed anywhere in the terminal.
55
#
66
# Version: v1.0.2
7+
# License: MIT License
8+
# Copyright (c) 2021-2026 Hunter T. (StrangeRanger)
79
#
810
########################################################################################
911
set -euo pipefail

0 commit comments

Comments
 (0)