Skip to content

Commit

Permalink
config: fix editor & change red
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Oct 27, 2023
1 parent a51697d commit f36b644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func Default() Config {
Enabled: true,
Bg: 0x242424,
Fg: 0xfafafa,
Red: 0xcc241d,
Red: 0xbc3c3c,
Gray1: 0x303030,
Gray2: 0x777777,
Accent: 0x8fbc5e,
Expand Down
2 changes: 1 addition & 1 deletion config/editor/editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func Edit(name string) error {
return fmt.Errorf("editor: %w", err)
}

if err := os.MkdirAll(filepath.Base(name), 0o755); err != nil {
if err := os.MkdirAll(filepath.Dir(name), 0o755); err != nil {
return err
}

Expand Down

0 comments on commit f36b644

Please sign in to comment.