Skip to content

Reassign an existing variable? #5966

Answered by davidkna
Nicryc asked this question in Q&A
Discussion options

You must be logged in to vote

$all_status cannot be redefined, but you can replace $all_status in the module format string directly, e. g. by setting it to '([\[$conflicted$stashed$deleted$renamed$modified$typechanged$staged$untracked$ahead_behind\]]($style) )' instead of the default '([\[$all_status$ahead_behind\]]($style) )'.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Nicryc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants