summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-06-16 07:29:30 +0200
committerMartin Fischer <martin@push-f.com>2025-06-18 21:05:37 +0200
commit7d65ee9b6b6046b73b9e7736b8ce7596724449e9 (patch)
tree0708cde1cb7fcbfd4568339669fadcdb31ae9489
parentc8c85adc361d48d770fc5a5da86d06cd5809951f (diff)
feat(workstation): add ed script
-rw-r--r--nixos/profiles/workstation/default.nix2
-rw-r--r--nixos/profiles/workstation/scripts/ed2
2 files changed, 4 insertions, 0 deletions
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix
index ec84c94..052a3c8 100644
--- a/nixos/profiles/workstation/default.nix
+++ b/nixos/profiles/workstation/default.nix
@@ -40,6 +40,8 @@ in
(callPackage "${sources.agenix}/pkgs/agenix.nix" {})
vim-full
+ skim
+ (writeShellScriptBin "ed" (builtins.readFile ./scripts/ed))
unzip
diff --git a/nixos/profiles/workstation/scripts/ed b/nixos/profiles/workstation/scripts/ed
new file mode 100644
index 0000000..a3dd433
--- /dev/null
+++ b/nixos/profiles/workstation/scripts/ed
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+$VISUAL $(find . -not -path "*/.*" | sk --no-info "$@")