diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-23 10:01:15 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-12-23 10:01:15 +0100 |
| commit | 7d3dc968b6183f51dc2594c80450372f0c8fb811 (patch) | |
| tree | 955b6be59884229125a63f070e16992dc5a79ca1 /xedit | |
| parent | 20bbe3418e71556ff2d14623cbbf047c0bd55855 (diff) | |
| download | scripts-7d3dc968b6183f51dc2594c80450372f0c8fb811.tar.gz scripts-7d3dc968b6183f51dc2594c80450372f0c8fb811.zip | |
Changes for new laptop
Diffstat (limited to '')
| -rwxr-xr-x | xedit | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -4,5 +4,6 @@ | |||
| 4 | # Requires: terminal | 4 | # Requires: terminal |
| 5 | 5 | ||
| 6 | editor=${EDITOR:-${VISUAL:-vi}} | 6 | editor=${EDITOR:-${VISUAL:-vi}} |
| 7 | xed=${XEDIT:-'terminal "$editor"'} | ||
| 7 | 8 | ||
| 8 | terminal "$editor" "$@" | 9 | $xed "$@" |
