mirror of
https://github.com/dchakro/alacritty_colors.git
synced 2026-05-17 10:12:17 -07:00
yaml → yml
This commit is contained in:
parent
ef751698e9
commit
a08af95bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ if command -v yj > /dev/null 2>&1; then
|
|||
# For each .yaml file in the current directory
|
||||
for yaml_file in *.yml; do
|
||||
# Use basename to get the file name without the .yaml extension
|
||||
base_name=$(basename "$yaml_file" .yaml)
|
||||
base_name=$(basename "$yaml_file" .yml)
|
||||
|
||||
# Convert .yaml to .toml using yj
|
||||
cat "$yaml_file" | yj -yt > "${base_name}.toml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue