diff --git a/src/lib/enum/promptElementType.ts b/src/lib/enum/promptElementType.ts index fb0d9c8..2ec8269 100644 --- a/src/lib/enum/promptElementType.ts +++ b/src/lib/enum/promptElementType.ts @@ -171,7 +171,7 @@ export const PROMPT_ELEMENT_TYPES = [ new PromptElementType( 'Git branch', // eslint-disable-next-line quotes - "$(git branch 2>/dev/null | grep ' ^* ' | colrm 1 2)", + "$(git branch 2>/dev/null | grep '*' | colrm 1 2)", [], true, 'Git branch.',