Skip to content

Commit

Permalink
Fix color
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyTake-Off committed Oct 2, 2024
1 parent ebeda71 commit bd34b14
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ branch_name="wslfiles"

# ANSI escape sequences for different colors
declare -A colors=(
["red"]="\e[31m"
["green"]="\e[32m"
["yellow"]="\e[33m"
["blue"]="\e[34m"
["purple"]="\e[35m"
["reset"]="\e[0m"
["red"]="\033[31m"
["green"]="\033[32m"
["yellow"]="\033[33m"
["blue"]="\033[34m"
["purple"]="\033[35m"
["reset"]="\033[0m"
)

# Function definitions
Expand Down
12 changes: 6 additions & 6 deletions wslfiles/.dots/scripts/set_dotfiles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ branch_name="wslfiles"

# ANSI escape sequences for different colors
declare -A colors=(
["red"]="\e[31m"
["green"]="\e[32m"
["yellow"]="\e[33m"
["blue"]="\e[34m"
["purple"]="\e[35m"
["reset"]="\e[0m"
["red"]="\033[31m"
["green"]="\033[32m"
["yellow"]="\033[33m"
["blue"]="\033[34m"
["purple"]="\033[35m"
["reset"]="\033[0m"
)

# Function definitions
Expand Down
12 changes: 6 additions & 6 deletions wslfiles/.dots/scripts/wslup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ declare home_dirs=("pr" "wk")

# ANSI escape sequences for different colors
declare -A colors=(
["red"]="\e[31m"
["green"]="\e[32m"
["yellow"]="\e[33m"
["blue"]="\e[34m"
["purple"]="\e[35m"
["reset"]="\e[0m"
["red"]="\033[31m"
["green"]="\033[32m"
["yellow"]="\033[33m"
["blue"]="\033[34m"
["purple"]="\033[35m"
["reset"]="\033[0m"
)

create_dirs() {
Expand Down

0 comments on commit bd34b14

Please sign in to comment.