about summary refs log tree commit diff stats
path: root/pkgs/by-name/sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkgs/by-name/sh/show/package.nix15
-rwxr-xr-xpkgs/by-name/sh/show/show.sh (renamed from pkgs/sources/scripts/source/wrappers/show.sh)0
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/by-name/sh/show/package.nix b/pkgs/by-name/sh/show/package.nix
new file mode 100644
index 00000000..0855e1b1
--- /dev/null
+++ b/pkgs/by-name/sh/show/package.nix
@@ -0,0 +1,15 @@
+{
+  sysLib,
+  less,
+  locale,
+}:
+sysLib.writeShellScript {
+  name = "show";
+  src = ./show.sh;
+  generateCompletions = false;
+  keepPath = true; # I might want to use nvim in less (and shell escapes)
+  dependencies = [
+    less
+    locale
+  ];
+}
diff --git a/pkgs/sources/scripts/source/wrappers/show.sh b/pkgs/by-name/sh/show/show.sh
index ae2bdb13..ae2bdb13 100755
--- a/pkgs/sources/scripts/source/wrappers/show.sh
+++ b/pkgs/by-name/sh/show/show.sh