Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Aug 14, 2022
1 parent edbb84b commit d5feac1
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions internal/shell/nushell/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,26 +81,26 @@ func toNushellstyle(_style string) nushellStyle {
}

replacer := strings.NewReplacer(
"bright-black", "black",
"black", "dark_grey",
"bright-red", "red",
"red", "dark_red",
"bright-green", "green",
"green", "dark_green",
"bright-yellow", "yellow",
"yellow", "dark_yellow",
"bright-blue", "blue",
"blue", "dark_blue",
"bright-magenta", "magenta",
"magenta", "dark_magenta",
"bright-cyan", "cyan",
"cyan", "dark_cyan",
"bright-white", "white",
"white", "grey",
"bright-black", "dark_grey",
"black", "black",
"bright-red", "red",
"red", "dark_red",
"bright-green", "green",
"green", "dark_green",
"bright-yellow", "yellow",
"yellow", "dark_yellow",
"bright-blue", "blue",
"blue", "dark_blue",
"bright-magenta", "magenta",
"magenta", "dark_magenta",
"bright-cyan", "cyan",
"cyan", "dark_cyan",
"bright-white", "white",
"white", "grey",
)

// TODO colorx -> ansi_(x)
// TODO #rrggbb -> rgb_(r,g,b)
// TODO colorx -> ansi_(x)
// TODO #rrggbb -> rgb_(r,g,b)

fg := ""
if s.Foreground != nil {
Expand Down

0 comments on commit d5feac1

Please sign in to comment.