Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # ~/.bashrc
- #
- # If not running interactively, don't do anything
- [[ $- != *i* ]] && return
- PS1='[\u@\h \W]\$ '
- EDITOR=/usr/bin/gedit
- export PATH=$PATH:/home/thiphariel/Android/Sdk/emulator
- # Run screenfetch on launch
- if [ -f /usr/bin/screenfetch ]; then screenfetch; fi
- # Alias
- alias ls='ls --color=auto'
- alias gbashrc='gedit ~/.bashrc'
- # Functions aliases
- avd() {
- # Try if an argument is provided, else, launch the first founded emulator
- if [ -z "$1" ]; then
- AVD_NAME=$(emulator -list-avds | head -n 1)
- else
- AVD_NAME=$1
- fi
- emulator @$AVD_NAME &
- disown
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement