about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/home.legacy/pkgs/default.nix1
-rw-r--r--pkgs/by-name/sh/show/package.nix15
-rwxr-xr-xpkgs/by-name/sh/show/show.sh9
3 files changed, 0 insertions, 25 deletions
diff --git a/modules/home.legacy/pkgs/default.nix b/modules/home.legacy/pkgs/default.nix
index 3d48287f..d75504b4 100644
--- a/modules/home.legacy/pkgs/default.nix
+++ b/modules/home.legacy/pkgs/default.nix
@@ -163,7 +163,6 @@ with pkgs; let
       file # Show information about a file
       ll # Wrapper around `lf` to automatically change the path
       lm # Wrapper around `ll` to automatically cd to the last accessed path
-      show # Wrapper around `less` to show a file (similar to the `cat <FILE>` pattern).
     ];
 
     Editors = [
diff --git a/pkgs/by-name/sh/show/package.nix b/pkgs/by-name/sh/show/package.nix
deleted file mode 100644
index 0855e1b1..00000000
--- a/pkgs/by-name/sh/show/package.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  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/by-name/sh/show/show.sh b/pkgs/by-name/sh/show/show.sh
deleted file mode 100755
index ae2bdb13..00000000
--- a/pkgs/by-name/sh/show/show.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env dash
-
-# shellcheck source=/dev/null
-SHELL_LIBRARY_VERSION="2.1.2" . %SHELL_LIBRARY_PATH
-
-# Maybe add `--quit-if-one-screen`
-less --redraw-on-quit "$@"
-
-# vim: ft=sh