This commit is contained in:
elwrcl committed 2026-08-02 04:07:25 +03:00
1 parent 6960ec0663
commit 20ecde0e15
17 files changed
+556 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
{ ... }:
{
flake.homeModules.home-nushell-last =
{ ... }:
{
programs.nushell.extraConfig = ''
$env.config.hooks.display_output = {||
tee { table --expand | print }
# SQLiteDatabase doesn't support equality comparisons.
| try { if $in != null { $env.last = $in } }
}
# Retrieve the output of the last command.
def _ []: nothing -> any {
$env.last?
}
'';
};
}