Skip to content

Idempotent appends to $PATH #1

@wingedrhino

Description

@wingedrhino

Do this:

case :$PATH: in *:/some/bin:*) : ;; *) PATH=/some/bin:$PATH ;; esac

and you'll ensure that calling the same profile multiple times doesn't pollute $PATH with too many entries.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions