Skip to content

Instantly share code, notes, and snippets.

@QGB
Created August 13, 2019 02:18
Show Gist options
  • Save QGB/3d3680ea34c9b0ae61f97ebbe3cd613f to your computer and use it in GitHub Desktop.
Save QGB/3d3680ea34c9b0ae61f97ebbe3cd613f to your computer and use it in GitHub Desktop.
# .bashrc
# User specific aliases and functions
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
. /root/torch/install/bin/torch-activate
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/root/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/root/anaconda3/etc/profile.d/conda.sh" ]; then
. "/root/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/root/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
~
~
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment