diff --git a/pkg/actions/tools/git/change.go b/pkg/actions/tools/git/change.go index be203a7f1e..55d4a557a0 100644 --- a/pkg/actions/tools/git/change.go +++ b/pkg/actions/tools/git/change.go @@ -58,7 +58,12 @@ func ActionChanges(opts ChangeOpts) carapace.Action { } } } - return carapace.ActionStyledValuesDescribed(untracked...) + + action := carapace.ActionStyledValuesDescribed(untracked...) + if strings.HasPrefix(c.Value, "./") { + action = action.Prefix("./") + } + return action } }) }).Tag("changed files")