Skip to content

Instantly share code, notes, and snippets.

@fabLouis
Last active August 29, 2015 14:16
Show Gist options
  • Save fabLouis/838f694cee77d6bbfb31 to your computer and use it in GitHub Desktop.
Save fabLouis/838f694cee77d6bbfb31 to your computer and use it in GitHub Desktop.
Unix shell aliases for development
# ALIASES: shell, parse, grunt, android (always in progress...)
alias ll='ls -l'
alias la='ls -la'
alias chromex='sudo /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security' # Open Chrome with disable security
alias ps='parse deploy'
alias gs='grunt serve'
alias gbi='grunt build:ios'
alias gba='grunt build:android'
alias gri='grunt run:ios'
alias gra='grunt run:android'
alias adbd='adb devices' # list of Android devices connected
alias adbi='adb install'
alias adbu='adb uninstall'
alias adbsl="adb shell 'pm list packages -f' | sed -e 's/.*=//' | sort" # list of app packages of Android device connected
alias ausdk='android update sdk --no-ui' # update the Android SDK manager
echo "Aliases added! (v5)"
# To execute it (in your ~/bash_profile file), adapt and run the command: curl -L -o 'aliases.sh' <gist_raw_url.sh> && source aliases.sh && rm aliases.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment