mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 09:53:43 +01:00
sync the default environment config file
- there is no right prompt in `nu -n` => comment the line - there is a space before the prompt indicator in `nu -n` - `NU_LIB_DIRS` and `NU_PLUGIN_DIRS` are empty by default
This commit is contained in:
parent
fe201d6970
commit
67c2150113
@ -44,13 +44,13 @@ def create_right_prompt [] {
|
||||
|
||||
# Use nushell functions to define your right and left prompt
|
||||
$env.PROMPT_COMMAND = {|| create_left_prompt }
|
||||
$env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt }
|
||||
# $env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt }
|
||||
|
||||
# The prompt indicators are environmental variables that represent
|
||||
# the state of the prompt
|
||||
$env.PROMPT_INDICATOR = {|| "> " }
|
||||
$env.PROMPT_INDICATOR_VI_INSERT = {|| ": " }
|
||||
$env.PROMPT_INDICATOR_VI_NORMAL = {|| "> " }
|
||||
$env.PROMPT_INDICATOR = {|| " > " }
|
||||
$env.PROMPT_INDICATOR_VI_INSERT = {|| " : " }
|
||||
$env.PROMPT_INDICATOR_VI_NORMAL = {|| " > " }
|
||||
$env.PROMPT_MULTILINE_INDICATOR = {|| "::: " }
|
||||
|
||||
# Specifies how environment variables are:
|
||||
@ -69,17 +69,13 @@ $env.ENV_CONVERSIONS = {
|
||||
}
|
||||
|
||||
# Directories to search for scripts when calling source or use
|
||||
#
|
||||
# By default, <nushell-config-dir>/scripts is added
|
||||
$env.NU_LIB_DIRS = [
|
||||
($nu.default-config-dir | path join 'scripts')
|
||||
# ($nu.default-config-dir | path join 'scripts') # add <nushell-config-dir>/scripts
|
||||
]
|
||||
|
||||
# Directories to search for plugin binaries when calling register
|
||||
#
|
||||
# By default, <nushell-config-dir>/plugins is added
|
||||
$env.NU_PLUGIN_DIRS = [
|
||||
($nu.default-config-dir | path join 'plugins')
|
||||
# ($nu.default-config-dir | path join 'plugins') # add <nushell-config-dir>/plugins
|
||||
]
|
||||
|
||||
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
|
||||
|
Loading…
Reference in New Issue
Block a user