Skip to content

Shellchecked xdg-open

Slatian requested to merge slatian/xdg-utils:shellcheck-xdg-open into master
  • Added a .shellcheckrc file
  • Replace legacy backticks with "$(
  • Comment where read -r is inteletially placed and where the -r is omitted.
  • Add quotes where they don't hurt
  • fix iterating over user and system_dirs by using IFS properly in open_generic_xdg_mime
  • Moved some local declarations out of the way
  • Remove unused variable from open_envvar
  • Disable checks fir the scary looking part of open_envvar
  • Removed unneccessary variable in open_flatpak

Did not fix:

  • local is posix "incompatible" (SC3043)
Edited by Slatian

Merge request reports

Loading