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 10:54:41 +0100 |
| commit | 5fad59be3d73df8b66f72a855091b1b2aa5f0963 (patch) | |
| tree | f7d3c47b58c61b2fb61a7daa1ef96d35cc859a30 /nixos/profiles/workstation | |
| parent | 2221c0037cd039d82eb45182e75c2b7bd6224a24 (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" |
