#!/usr/bin/env bash

# Custom adb commands

adb() {
  local cmd="$1"
  shift

  case "$cmd" in
    file)
      command adbf "$@"
      ;;
    reinstall)
      command apk-reinstall "$@"
      ;;
    *)
      command adb "$cmd" "$@"
      ;;
  esac
}

#!/usr/bin/env bash

# Custom adb commands

adb() {
  local cmd="$1"
  shift

  case "$cmd" in
    file)
      command adbf "$@"
      ;;
    reinstall)
      command adb install -r -d "$@"
      ;;
    *)
      command adb "$cmd" "$@"
      ;;
  esac
}

Replace apk-reinstall with apk install using flags.
Replace apk-reinstall with apk install using flags.
