mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 08:23:24 +01:00
Revert "Hide 7925" (#8500)
Revert nushell/nushell#8359 Turn `[empty list]` on by default again
This commit is contained in:
parent
77e9f8d7df
commit
491a9c019c
@ -332,8 +332,8 @@ fn remove_ignores_ansi() {
|
|||||||
|
|
||||||
let actual = nu!(
|
let actual = nu!(
|
||||||
cwd: sandbox.cwd(),
|
cwd: sandbox.cwd(),
|
||||||
"ls | find test | get name | rm $in.0; ls",
|
"ls | find test | get name | rm $in.0; ls | is-empty",
|
||||||
);
|
);
|
||||||
assert!(actual.out.is_empty());
|
assert_eq!(actual.out, "true");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -107,7 +107,7 @@ impl Default for Config {
|
|||||||
Config {
|
Config {
|
||||||
filesize_metric: false,
|
filesize_metric: false,
|
||||||
table_mode: "rounded".into(),
|
table_mode: "rounded".into(),
|
||||||
table_show_empty: false,
|
table_show_empty: true,
|
||||||
external_completer: None,
|
external_completer: None,
|
||||||
use_ls_colors: true,
|
use_ls_colors: true,
|
||||||
color_config: HashMap::new(),
|
color_config: HashMap::new(),
|
||||||
|
@ -187,6 +187,7 @@ let-env config = {
|
|||||||
table: {
|
table: {
|
||||||
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other
|
||||||
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column
|
||||||
|
show_empty: true # show 'empty list' and 'empty record' placeholders for command output
|
||||||
trim: {
|
trim: {
|
||||||
methodology: wrapping # wrapping or truncating
|
methodology: wrapping # wrapping or truncating
|
||||||
wrapping_try_keep_words: true # A strategy used by the 'wrapping' methodology
|
wrapping_try_keep_words: true # A strategy used by the 'wrapping' methodology
|
||||||
|
Loading…
Reference in New Issue
Block a user