From 7d65ee9b6b6046b73b9e7736b8ce7596724449e9 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Mon, 16 Jun 2025 07:29:30 +0200 Subject: feat(workstation): add ed script --- nixos/profiles/workstation/default.nix | 2 ++ nixos/profiles/workstation/scripts/ed | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 nixos/profiles/workstation/scripts/ed (limited to 'nixos/profiles') 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 "$@") -- cgit v1.2.3