Skip to content

Instantly share code, notes, and snippets.

@rosterloh
Last active January 22, 2020 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosterloh/6f5343a76d25cf564f8252691e252817 to your computer and use it in GitHub Desktop.
Save rosterloh/6f5343a76d25cf564f8252691e252817 to your computer and use it in GitHub Desktop.
My bash aliases
alias update='sudo apt update && sudo apt dist-upgrade -y --auto-remove'
alias adb_camera='adb shell am start -a android.media.action.IMAGE_CAPTURE'
alias adb_launch='adb shell am start -a android.intent.action.MAIN '
alias adb_brightness='adb shell am broadcast -a com.enhancedworld.devicemanager.SET_BRIGHTNESS --ei com.enhancedworld.devicemanager.extra.LEVEL '
alias adb_flash_boot='adb remount; adb sync; adb reboot bootloader; fastboot flash boot $OUT/boot.img; fastboot reboot'
alias adb_peripherals='adb shell dumpsys com.google.android.things.pio.IPeripheralManager'
alias cat='bat --theme zenburn'
alias ping='prettyping --nolegend'
alias du="ncdu --color dark -rr -x --exclude .git --exclude node_modules"
alias grep="grep -n -I --color"
alias diff="diff -u -l --color"
alias minicom="minicom -c on"
alias nano="nano -l"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment