diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-09 15:42:19 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-09 15:42:19 +0200 |
| commit | 0a1512c2308dc47f114c693183aec6b277afd269 (patch) | |
| tree | be98b1105ccbd98305498cfb0179d2d23b7cd2b6 /scripts/xedit | |
| parent | f8ebfb76245555f8531f591054e923f53e90b91d (diff) | |
| download | config-0a1512c2308dc47f114c693183aec6b277afd269.tar.gz config-0a1512c2308dc47f114c693183aec6b277afd269.zip | |
Reintroduce xedit, move alg to scripts
Diffstat (limited to 'scripts/xedit')
| -rwxr-xr-x | scripts/xedit | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/xedit b/scripts/xedit new file mode 100755 index 0000000..3f68f24 --- /dev/null +++ b/scripts/xedit | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | # My X editor | ||
| 4 | # Requires: terminal | ||
| 5 | |||
| 6 | editor=${EDITOR:-${VISUAL:-vi}} | ||
| 7 | xed=${XEDIT:-"terminal "$editor""} | ||
| 8 | |||
| 9 | $xed "$@" | ||
