### ----------------------------------------------------
### -- Tomtit
### -- Licenses: Artistic-2.0
### -- Authors: Alexey Melezhik
### -- File: resources/profiles/git/commit.raku
### ----------------------------------------------------
#!raku

my $msg = prompt("message: ");

if ".git-commit-prefix".IO ~~ :e {
  my $prefix = ".git-commit-prefix".IO.lines.head;
  $msg =  "{$prefix} {$msg}";
} 

task-run "commit my changes", "git-commit", %( message => $msg );


