Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (29 sloc) 793 Bytes
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/.local/bin:$HOME/bin
export ANACONDA_HOME=$HOMEDRIVE$HOMEPATH/Anaconda3
r_rev=`ls "$PROGRAMFILES/R" | head -1`
export R_HOME=$PROGRAMFILES/R/$r_rev
export PATH=$PATH:$ANACONDA_HOME/Scripts:$ANACONDA_HOME:$R_HOME/bin
alias vi=vim
alias python="winpty python"
alias ipython="winpty ipython"
alias jupyter="winpty jupyter"
alias r="winpty r"
alias R="winpty r"
alias atom="run_atom $@"
run_atom() {
atom_home=$HOMEDRIVE$HOMEPATH/AppData/Local/atom
atom_rev=`ls $atom_home | grep -e "^app-" | head -1`
cmd /C "$atom_home/$atom_rev/resources/cli/atom.cmd $*"
}
export LANG=C
# start tmux
if [ -z "$TMUX" ]; then
tmux
exit
fi