userpath-prepend - Man Page

userpath prepend – Prepends to the user PATH


userpath prepend [Options] LOCATIONS...


Prepends to the user PATH. The shell must be restarted for the update to take effect.


-s,  --shell [bash|fish|sh|xonsh|zsh]

The shell in which PATH will be modified. This can be selected multiple times and has no effect on Windows. The default shells are: bash, sh

-a,  --all-shells

Update PATH of all supported shells. This has no effect on Windows as environment settings are already global.

--home TEXT

Explicitly set the home directory.

-f,  --force

Update PATH even if it appears to be correct.

-q,  --quiet

Suppress output for successful invocations.

-h,  --help

Show a help message and exit.

See Also


userpath-append(1), userpath-verify(1)

Referenced By

userpath(1), userpath-append(1), userpath-verify(1).

Feburary 2022