Change NU_LIB_DIRS not to depend on $nu.config-path (#8887)

This commit is contained in:
goldfish
2023-04-15 05:16:00 +09:00
committed by GitHub
parent 9b35d59023
commit 45d33e70db
3 changed files with 22 additions and 4 deletions

View File

@ -524,11 +524,12 @@ fn variables_completions() {
// Test completions for $nu
let suggestions = completer.complete("$nu.", 4);
assert_eq!(13, suggestions.len());
assert_eq!(14, suggestions.len());
let expected: Vec<String> = vec![
"config-path".into(),
"current-exe".into(),
"default-config-dir".into(),
"env-path".into(),
"history-path".into(),
"home-path".into(),