Usage#
nux resetDescription#
Removes the global nux config file so you can start fresh. Use --projects to also remove all project config files.
Before anything is deleted, a summary of what will be removed and what will be kept is printed.
Flags#
| Flag | Meaning |
|---|---|
--force | Skip the confirmation prompt |
--projects | Also remove all project configs |
Behavior#
- nux checks that
config.yamlexists in the config directory. - A preview of what will be removed and what will be kept is printed.
- Unless
--forceis set, nux prompts for confirmation. - The global config file is deleted.
- If
--projectsis set, theprojects/directory and all its contents are also deleted.
Running tmux sessions are not affected by this command.
Errors#
config not found: <path>- no global config file exists.
Examples#
# Remove global config with confirmation prompt
nux reset
# Remove global config without prompting
nux reset --force
# Remove global config and all project configs
nux reset --projects --forceNotes#
- To recreate the global config after a reset, run
nux config. - Project configs created with
nux neware kept unless--projectsis passed. - This command never stops or modifies running tmux sessions.