2015-09-07 02:04:45 +00:00
|
|
|
# .bashrc
|
|
|
|
|
|
|
|
# Source global definitions
|
|
|
|
if [ -f /etc/bashrc ]; then
|
|
|
|
. /etc/bashrc
|
|
|
|
fi
|
|
|
|
|
2015-10-27 22:21:59 +00:00
|
|
|
# Add Gems to path
|
|
|
|
if which ruby >/dev/null && which gem >/dev/null; then
|
|
|
|
PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH"
|
|
|
|
fi
|
|
|
|
|
2017-01-28 01:52:36 +00:00
|
|
|
# Add Python projects to path
|
|
|
|
PYTHONPATH="${PYTHONPATH}:/home/niblock/Lab/gomez_audit"
|
|
|
|
|
|
|
|
export PYTHONPATH
|
|
|
|
|
2015-09-07 02:04:45 +00:00
|
|
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
|
|
|
# export SYSTEMD_PAGER=
|
|
|
|
|
|
|
|
# complete -cf sudo
|
|
|
|
|
|
|
|
######
|
|
|
|
# Aliases
|
|
|
|
###
|
|
|
|
|
|
|
|
|
|
|
|
######
|
|
|
|
# Functions
|
|
|
|
###
|
|
|
|
|
|
|
|
#If redshift wasn't automatically started, this will do it
|
|
|
|
function tint(){
|
|
|
|
redshift -l 42.8864500:-78.8783700 -t 5000:4000 &
|
|
|
|
}
|
|
|
|
|
|
|
|
#Wrapper function for livestreamer script
|
|
|
|
function live(){
|
|
|
|
case $1 in
|
|
|
|
'twitch' ) livestreamer twitch.tv/$2 best & ;;
|
|
|
|
'yt' | 'youtube' ) livestreamer $2 best & ;;
|
|
|
|
* ) echo "Not an option, try again." ;;
|
|
|
|
esac
|
|
|
|
}
|
2017-01-28 01:52:36 +00:00
|
|
|
|
|
|
|
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
|