programs: add (and ship) see-cat; a program to pretty-print anything in the terminal

This commit is contained in:
2025-03-04 05:00:58 +00:00
parent 0448603731
commit d9a31ddff3
3 changed files with 10 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ in
"rsync" "rsync"
# "s6-rc" # service manager # "s6-rc" # service manager
# "screen" # "screen"
"see-cat" # pretty-print equivalent to 'cat'
"smartmontools" # smartctl "smartmontools" # smartctl
# "socat" # "socat"
"strace" "strace"

View File

@@ -176,6 +176,7 @@
./sblast ./sblast
./schlock.nix ./schlock.nix
./seatd.nix ./seatd.nix
./see-cat.nix
./sfeed.nix ./sfeed.nix
./shadow.nix ./shadow.nix
./signal-desktop.nix ./signal-desktop.nix

View File

@@ -0,0 +1,8 @@
{ ... }:
{
sane.programs.see-cat = {
# if image rendering is enabled, "existing" may be too restrictive;
# grant access to the whole directory, as images are usually somewhere within that.
sandbox.autodetectCliPaths = "existingDirOrParent";
};
}