Skip to content

Instantly share code, notes, and snippets.

@AruniRC
Last active April 19, 2020 16:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AruniRC/0c3e535c1746ab765ae211482d88e773 to your computer and use it in GitHub Desktop.
Save AruniRC/0c3e535c1746ab765ae211482d88e773 to your computer and use it in GitHub Desktop.
Bashrc renyi server
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
# We have color support; assume it's compliant with Ecma-48
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
# a case would tend to support setf rather than setaf.)
color_prompt=yes
else
color_prompt=yes=no
fi
fi
# enable color prompt
PS1='\[\033[1;36m\]\u\[\033[1;31m\]@\[\033[1;32m\]\h:\[\033[1;35m\]\w\[\033[1;31m\]\n\$\[\033[0m\] '
# added by Anaconda2 installer
# export PATH="/vis/home/arunirc/anaconda2/bin:$PATH"
# export PATH=/vis/home/arunirc/miniconda3/bin:$PATH
# alias
alias conda-path="export PATH=/vis/home/arunirc/miniconda3/bin:$PATH"
35,1 48%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment