mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Remove unused sample_login.nu
file (#14632)
This file is not made accessible to the user through any of our `config` commands. Thus I discussed with Douglas to delete it, to ensure it doesn't go out of date (the version added with #14601 was not yet part of the bumping script) All the necessary information on how to setup a `login.nu` file is provided in the website documentation
This commit is contained in:
parent
dc0ac8e917
commit
b48f50f018
2 changed files with 0 additions and 16 deletions
|
@ -70,7 +70,3 @@ Counterpart to `scaffold_env.nu`.
|
||||||
* This file is used *one-time* (typically) at **first** startup
|
* This file is used *one-time* (typically) at **first** startup
|
||||||
* If the `$nu.default-config-path` directory does not exist, the directory is created and then both `scaffold_env.nu` and `scaffold_config.nu` are written to it
|
* If the `$nu.default-config-path` directory does not exist, the directory is created and then both `scaffold_env.nu` and `scaffold_config.nu` are written to it
|
||||||
* Contains only commented lines explaining the purpose of the file to the user, along with information on the `config nu` command.
|
* Contains only commented lines explaining the purpose of the file to the user, along with information on the `config nu` command.
|
||||||
|
|
||||||
## `sample_login.nu`
|
|
||||||
|
|
||||||
This file is not used by any Nushell code. Of course, if the user has a `login.nu`, then it will be evaluated during startup of a login shell.
|
|
|
@ -1,12 +0,0 @@
|
||||||
# Example Nushell Loginshell Config File
|
|
||||||
#
|
|
||||||
# version = "0.100.1"
|
|
||||||
#
|
|
||||||
# - has to be as login.nu in the default config directory
|
|
||||||
# - will be sourced after config.nu and env.nu in case of nushell started as login shell
|
|
||||||
|
|
||||||
# just as an example for overwriting of an environment variable of env.nu
|
|
||||||
$env.PROMPT_INDICATOR = {|| "(LS)> " }
|
|
||||||
|
|
||||||
# Similar to env-path and config-path there is a variable containing the path to login.nu
|
|
||||||
echo $nu.loginshell-path
|
|
Loading…
Reference in a new issue