alias master="mosh master@"$SERVER_NAME""
alias cevac='mosh cevac@wfic-cevac1.clemson.edu'
alias vm='ssh bmeares@130.127.218.148'
alias ada6='ssh bmeares@ada6.computing.clemson.edu -X'
alias fix_audio="amixer -c 0 set 'Headphone Mic Boost',0 1"
alias m='make'
alias mr='make && make run'
alias r='make run'
alias lab_2310_copy="/group/course/cpsc231/public_html/lab231/lab231copy.sh"
alias e='exit'
alias d="tmux detach"
alias tmux='tmux -2'
alias armc="arm-linux-gnueabi-gcc-5 --static"
alias uu='sudo apt update; sudo apt upgrade -y'
alias webapp='ssh bmeares@webapp.cs.clemson.edu'


tmux_plugins(){
  # tmux a
  # tmux source ~/.tmux.conf
  $TMUX_LOC/plugins/tpm/bin/install_plugins
}

alias metube='mysql -h mysql1.cs.clemson.edu -u MeTube_rm71 -p MeTube_kk5f'

# Predictable SSH authentication socket location.
SOCK="/tmp/ssh-agent-$USER-screen"
if test $SSH_AUTH_SOCK && [ $SSH_AUTH_SOCK != $SOCK ]
then
    rm -f /tmp/ssh-agent-$USER-screen
    ln -sf $SSH_AUTH_SOCK $SOCK
    export SSH_AUTH_SOCK=$SOCK
fi
say() {
  local IFS=+;/usr/bin/mplayer -ao alsa -really-quiet -noconsolecontrols "http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=$*&tl=en"; 
}
gnome_reload() {
  busctl --user call org.gnome.Shell /org/gnome/Shell org.gnome.Shell Eval s 'Meta.restart("Restarting…")'
}
