Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate alacritty config YAML with TOML #390

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Feb 2, 2024

Resolves #277

Most parts are done by following command

alacritty migrate
mv /home/kachick/.config/alacritty/alacritty.toml /home/kachick/.config/alacritty/common.toml config/alacritty

alacritty.toml is renamed to unix.toml

And manually updated windows.toml

And formatted TOML with dprint

winget is already updated to 0.13.0 microsoft/winget-pkgs#132108

Most parts are done by following command

```
alacritty migrate
mv /home/kachick/.config/alacritty/alacritty.toml /home/kachick/.config/alacritty/common.toml config/alacritty
```

alacritty.toml is renamed to unix.toml

And manually updated windows.toml

And formatted TOML with dprint
Comment on lines -14 to -22
# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g.
# `/bin/fish`. Entries in `shell.args` are passed unmodified as arguments to the
# shell.
#
# Default:
# - (Linux/BSD/macOS) `$SHELL` or the user's login shell, if `$SHELL` is unset
# - (Windows) powershell
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these comments will be removed for now 🙆‍♂️

@kachick kachick merged commit b244d6b into main Feb 2, 2024
15 checks passed
@kachick kachick deleted the migrate-alacritty-yaml-with-toml branch February 2, 2024 10:51
import = ["/home/kachick/.config/alacritty/common.toml"]

[shell]
program = "foo"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing code... 🙈

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in bccf604

kachick added a commit that referenced this pull request Feb 2, 2024
kachick added a commit that referenced this pull request Feb 14, 2024
kachick added a commit that referenced this pull request Feb 14, 2024
The comment has been removed in TOML migration #390
kachick added a commit that referenced this pull request Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace alacritty config YAML with TOML
1 participant