Skip to content

Commit

Permalink
Git branch switches in real-time now
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanishk Vishwakarma committed Jul 17, 2023
1 parent 814bef5 commit deeb494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/enum/promptElementType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit deeb494

Please sign in to comment.