In /usr/bin/sensible-editor line 7:
[ -n "$EDITOR" ] && [ "$(which $EDITOR || true)" = "$p" ] && EDITOR=
                               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
[ -n "$EDITOR" ] && [ "$(which "$EDITOR" || true)" = "$p" ] && EDITOR=


In /usr/bin/sensible-editor line 8:
[ -n "$EDITOR" ] && [ "$(which $VISUAL || true)" = "$p" ] && VISUAL=
                               ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
[ -n "$EDITOR" ] && [ "$(which "$VISUAL" || true)" = "$p" ] && VISUAL=


In /usr/bin/sensible-editor line 9:
[ -n "$EDITOR" ] && [ "$(which $SELECTED_EDITOR || true)" = "$p" ] && SELECTED_EDITOR=
                               ^--------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
[ -n "$EDITOR" ] && [ "$(which "$SELECTED_EDITOR" || true)" = "$p" ] && SELECTED_EDITOR=


In /usr/bin/sensible-editor line 20:
	. ~/.selected_editor 2>/dev/null || true
          ^----------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.


In /usr/bin/sensible-editor line 22:
	select-editor && . ~/.selected_editor 2>/dev/null || true
                      ^-- SC2015: Note that A && B || C is not if-then-else. C may run when A is true.
                           ^----------------^ SC1090: Can't follow non-constant source. Use a directive to specify location.

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source....
  https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...