In /usr/bin/xdg-user-dir line 3:
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && . ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
        ^---------------------------^ SC2086: Double quote to prevent globbing and word splitting.
                                                          ^-- SC1090: Can't follow non-constant source. Use a directive to specify location.
                                                          ^---------------------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
test -f "${XDG_CONFIG_HOME:-~/.config}"/user-dirs.dirs && . "${XDG_CONFIG_HOME:-~/.config}"/user-dirs.dirs


In /usr/bin/xdg-user-dir line 5:
  eval echo \${XDG_${1}_DIR:-$HOME/Desktop}
              ^-- SC1083: This { is literal. Check expression (missing ;/\n?) or quote it.
                   ^--^ SC2086: Double quote to prevent globbing and word splitting.
                             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                          ^-- SC1083: This } is literal. Check expression (missing ;/\n?) or quote it.

Did you mean: 
  eval echo \${XDG_"${1}"_DIR:-"$HOME"/Desktop}


In /usr/bin/xdg-user-dir line 7:
  eval echo \${XDG_${1}_DIR:-$HOME}
              ^-- SC1083: This { is literal. Check expression (missing ;/\n?) or quote it.
                   ^--^ SC2086: Double quote to prevent globbing and word splitting.
                             ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                  ^-- SC1083: This } is literal. Check expression (missing ;/\n?) or quote it.

Did you mean: 
  eval echo \${XDG_"${1}"_DIR:-"$HOME"}

For more information:
  https://www.shellcheck.net/wiki/SC1083 -- This { is literal. Check expressi...
  https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source....
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...