check_ide_smart_sudo 315 B

123456
  1. #!/bin/bash
  2. # That fucking feel when the built-in check_ide_smart doesn't check for rewt axx lmao
  3. plugindir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
  4. sudo "$plugindir/check_ide_smart" "$@"
  5. # Not doing an explicit exit here so sudo *should* pass the return value from check_ide_smart along =]