You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Priority weight is a solution often used when a given "stuff" can be obtained from multiple providers. Priority weight helps to select the primary provider. This solution is used for instance when dealing with package repositories to configure the repository that has the precedence over everything else when installing a system.
Applied to an environment variable domain, priority weight could help to determine what variable value to retain among multiple possibilities.
When using prepend-path and append-path commands, a --priority argument could be added to assign a priority weight to the value set.
Values with no specific priority weight set owns a default priority weight (default weight value to be defined)
For two values with same priority weight, lastly set will take the high ground
Priority weights help to determine the prepend value order and the append value order (with top priority prepend value holding first position and top priority append value holding last position)
Coming from the need to make a value persist at first or last position of a path-like variable.
Priority weight is a solution often used when a given "stuff" can be obtained from multiple providers. Priority weight helps to select the primary provider. This solution is used for instance when dealing with package repositories to configure the repository that has the precedence over everything else when installing a system.
Applied to an environment variable domain, priority weight could help to determine what variable value to retain among multiple possibilities.
When using
prepend-path
andappend-path
commands, a--priority
argument could be added to assign a priority weight to the value set.In this example resulting
PATH
equals/path/to/foo:/path/to/bar:/bin
.The text was updated successfully, but these errors were encountered: