Nushell: Difference between revisions
imported>Vieta m configFile.source function |
imported>Vieta extraConfig |
||
| Line 21: | Line 21: | ||
# The config.nu can be anywhere you want if you like to edit your Nushell with Nu | # The config.nu can be anywhere you want if you like to edit your Nushell with Nu | ||
configFile.source = ./.../config.nu; | configFile.source = ./.../config.nu; | ||
# If you like to add extra configuration for nu like adding execution paths | |||
extraConfig = '' | |||
$env.config = { | |||
show_banner: false, | |||
} | |||
$env.PATH = ($env.PATH | | |||
split row (char esep) | | |||
prepend /home/myuser/.apps | | |||
append /usr/bin/env | |||
) | |||
''; | |||
}; | }; | ||
starship = { enable = true; | starship = { enable = true; | ||