This is from Nushell 0.110.0 $nu The $nu constant is a record containing several useful values:
- default-config-dir: The directory where the configuration files are stored and read.
- config-path: The path of the main Nushell config file, normally config.nu in the config directory.
- env-path: The optional environment config file, normally env.nu in the config directory.
- history-path: The text or SQLite file storing the command history.
- loginshell-path: The optional config file which runs for login shells, normally login.nu in the config directory.