Add NU config to allow user be able to turn off external completion (#5773)

* 06-07-wsl

* 06-07-linux-issue-with-delete-input

* 06-08-2023

* 06-08-Linux

* commit for merge

* Fix unit test

* format

* clean code

* Add flag to turn off external completion

* change env var to config

* Fix comment

Co-authored-by: Frank Zhang <v-frankz@microsoft.com>
This commit is contained in:
Kangaxx-0
2022-06-14 12:28:11 -07:00
committed by GitHub
parent ff946a2f21
commit 534e1fc3ce
3 changed files with 18 additions and 1 deletions

View File

@ -219,6 +219,7 @@ let-env config = {
disable_table_indexes: false # set to true to remove the index column from tables
cd_with_abbreviations: false # set to true to allow you to do things like cd s/o/f and nushell expand it to cd some/other/folder
case_sensitive_completions: false # set to true to enable case-sensitive completions
enable_external_completion: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up my be very slow
hooks: {
pre_prompt: [{