mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
9a9fdd7a35
# Description Show an example of loading from a custom file, and an example of adding multiple entry to PATH. Loading from a custom file will hopefully allow for greater modularity of configuration files out of the box for new users. Adding multiple paths to PATH is very common, and will help new users to. Adds this: ``` # To add multiple paths to PATH this may be simpler: # use std "path add" # $env.PATH = ($env.PATH | split row (char esep)) # path add /some/path # path add ($env.CARGO_HOME | path join "bin") # path add ($env.HOME | path join ".local" "bin") # $env.PATH = ($env.PATH | uniq) # To load from a custom file you can use: # source ($nu.default-config-dir | path join 'custom.nu') ``` --------- Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
LICENSE |