From 6a90bce258bccfd6a80685360aa0290c19217eeb Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 21 Aug 2024 03:21:33 +0300 Subject: [PATCH] Name : Use startcase for music. --- home/program/bash/module/Name.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/program/bash/module/Name.nix b/home/program/bash/module/Name.nix index 0a2d67c6..2aac288b 100644 --- a/home/program/bash/module/Name.nix +++ b/home/program/bash/module/Name.nix @@ -219,9 +219,9 @@ local ext=''${target##*.} if [[ -d "''${target}" ]]; then - local new_name="$(parse_titlecase $(parse_simple ''${target%.*}))" + local new_name="$(parse_startcase $(parse_simple ''${target%.*}))" else - local new_name="$(parse_titlecase $(parse_simple ''${target%.*})).''${ext}" + local new_name="$(parse_startcase $(parse_simple ''${target%.*})).''${ext}" fi # Skip on no change.