diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-20 23:01:09 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-06-20 23:01:09 +0200 |
| commit | 581865ee0c8b8aea872f053d804a41fb5f416b17 (patch) | |
| tree | 9a2f99ea48c31629a5c3c42b0454483982cdbfed /xedit | |
| parent | c5d101ab2c9db3b1a001cb56953cb90b24f8fdcf (diff) | |
| download | scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.tar.gz scripts-581865ee0c8b8aea872f053d804a41fb5f416b17.zip | |
Various shellcheck fixes (www.shellcheck.net)
Diffstat (limited to '')
| -rwxr-xr-x | xedit | 2 | ||||
| -rwxr-xr-x | xedit-filter | 2 |
2 files changed, 2 insertions, 2 deletions
| @@ -5,4 +5,4 @@ | |||
| 5 | 5 | ||
| 6 | editor=${EDITOR:-${VISUAL:-vi}} | 6 | editor=${EDITOR:-${VISUAL:-vi}} |
| 7 | 7 | ||
| 8 | terminal $editor $@ | 8 | terminal "$editor" "$@" |
diff --git a/xedit-filter b/xedit-filter index c377473..7caf12c 100755 --- a/xedit-filter +++ b/xedit-filter | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #/!bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | # Open stdin in a text editor and sends modified selection to stdout | 3 | # Open stdin in a text editor and sends modified selection to stdout |
| 4 | # Requires: xedit | 4 | # Requires: xedit |
