dotfiles/bash/.bashrc

32 lines
824 B
Bash
Raw Normal View History

2016-11-07 20:57:18 +00:00
export DOTFILES="$HOME/.dotfiles"
2016-05-06 17:04:10 +01:00
2016-09-12 15:52:11 +01:00
source $DOTFILES/bash/boilerplate.sh
source $DOTFILES/bash/catfish.sh
source $DOTFILES/bash/javascript.sh
2016-11-07 21:13:17 +00:00
source $DOTFILES/bash/applications.sh
2016-07-07 17:38:01 +01:00
2016-11-07 20:57:18 +00:00
if [ -f "$(command -v lsb_release)" ]; then
source $DOTFILES/bash/ubuntu.sh # Ubuntu only stuff
elif [ -f "$(command -v pacman)" ]; then
source $DOTFILES/bash/arch.sh # Arch only stuff
fi
2016-07-07 17:38:01 +01:00
2016-05-06 17:04:10 +01:00
# Export some variables
export ANDROID_HOME=/opt/android-sdk
2016-11-07 20:57:18 +00:00
export EDITOR=/bin/nano
2016-05-06 17:04:10 +01:00
2016-11-07 20:57:18 +00:00
# Extend path
2016-07-07 17:38:01 +01:00
export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:${ANDROID_HOME}/platform-tools
2016-05-06 17:04:10 +01:00
export PATH=${PATH}:/opt/genymobile/genymotion
2016-11-07 20:57:18 +00:00
export PATH=${HOME}/.dotfiles/bin:${PATH}
2016-05-06 17:04:10 +01:00
# bash aliases
alias src="source ~/.bashrc"
2016-07-07 17:38:01 +01:00
alias refresh="cd $PWD > /dev/null"
alias c="clear"
2016-11-07 20:57:18 +00:00
alias cls="clear"
alias e="exit"
2016-09-12 15:52:11 +01:00
alias please="sudo"
2016-11-07 20:57:18 +00:00
alias no="yes n"