Skip to content

Instantly share code, notes, and snippets.

@xgouchet
Last active June 1, 2017 14:03
Show Gist options
  • Select an option

  • Save xgouchet/f311b437057feeadf41f to your computer and use it in GitHub Desktop.

Select an option

Save xgouchet/f311b437057feeadf41f to your computer and use it in GitHub Desktop.
Custom commands and macros to include in a debian .bashrc file
########################################################################
# make sure the default console editor is nano
export EDITOR="nano"
########################################################################
# handle non breaking space in shell
setxkbmap -option "nbsp:none"
########################################################################
# Android path variables
# export STUDIO_JDK=/opt/jdk/jdk1.7.0_79
#
# export ANDROID_SDK=/home/share/android/sdk
# export ANDROID_NDK=/home/share/android/ndk
#
# export PATH=${PATH}:$ANDROID_SDK/tools
# export PATH=${PATH}:$ANDROID_SDK/platform-tools
# export PATH=${PATH}:$ANDROID_NDK/tools
########################################################################
# variables for my devices in ADB
# device usb:1-1.4 product:yakju model:Galaxy_Nexus device:maguro
export SERIAL_GNEXUS=0A3BDAD913017009
# device usb:1-1.3 product:falcon_vffrsl model:XT1032 device:falcon_umts
export SERIAL_MOTOG=TA8900AKC2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment