Skip to content

Update result module#1246

Merged
fdncred merged 1 commit intonushell:mainfrom
Juhan280:update-result-hook
Apr 14, 2026
Merged

Update result module#1246
fdncred merged 1 commit intonushell:mainfrom
Juhan280:update-result-hook

Conversation

@Juhan280
Copy link
Copy Markdown
Contributor

Mainly updated for the $meta.source deprecation for ls. But pulled some changes from @ExpandingMan's gitlab

Also, now the result hook no longer calls the table command. You need to add that in the display hook like this:

$env.config.hooks.display_output = {
  result hook | if (term size).columns >= 100 { table -e } else { table }
}

@ExpandingMan let me know what you think about this

Co-authored-by: expandingman <savastio@protonmail.com>
@fdncred fdncred merged commit 68af8db into nushell:main Apr 14, 2026
1 check passed
@fdncred
Copy link
Copy Markdown
Contributor

fdncred commented Apr 14, 2026

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants