rajasegar / alacritty-themes

:rainbow: :lollipop: Themes :candy: :heart_eyes: for Alacritty: A cross-platform GPU-accelerated Terminal emulator
MIT License
696 stars 71 forks source link

Fix —current argument #94

Closed JuanVqz closed 1 year ago

JuanVqz commented 2 years ago

Describe the bug

When using the command alacritty-themes —current it shows the current theme as a result until that all good, despide, at the same time, it writes the alacritty.yml file with the current theme's name which is incorrect.

To Reproduce

Steps to reproduce the behavior:

run alacritty-themes —current

Go to the las line in your alacritty.yml file you will see the current name was written there.

  1. Installation
  1. Run alacritty-themes
  1. See error

Expected behavior

A clear and concise description of what you expected to happen.

don't write the alacritty file

Operative System:

Screenshots

Add screenshots to help explain your problem.

JuanVqz commented 1 year ago

This error seems to be solved within recent changes we did on cli.js file https://github.com/rajasegar/alacritty-themes/commit/b7a04d6832df448455c126fd0675bf3f185b21f1