mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
secret
This commit is contained in:
17 files changed
+556
-1
No files matched your search
@@ -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?
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user