diff options
| author | Martin Fischer <martin@push-f.com> | 2026-01-25 10:54:29 +0100 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-01-25 18:14:41 +0100 |
| commit | c3c794b4a779c4ae8319711c688b77dd9191c749 (patch) | |
| tree | d4c7e276fbb06b4dbc2fd3e62c1f4061b68bde14 /nixos/profiles/workstation | |
| parent | f356eebce20050e35005ccba926f9c29f3d76039 (diff) | |
fix(workstation): make ed not launch editor on Ctrl+C
Diffstat (limited to 'nixos/profiles/workstation')
| -rwxr-xr-x | nixos/profiles/workstation/scripts/ed | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/profiles/workstation/scripts/ed b/nixos/profiles/workstation/scripts/ed index a3dd433..bed7d79 100755 --- a/nixos/profiles/workstation/scripts/ed +++ b/nixos/profiles/workstation/scripts/ed @@ -1,2 +1,3 @@ #!/usr/bin/env bash -$VISUAL $(find . -not -path "*/.*" | sk --no-info "$@") +files=$(find . -not -path "*/.*" | sk --no-info "$@") || exit +$VISUAL "$files" |
