############
# Anaconda #
############
export PATH="/station/guillaume/anaconda3/bin:$PATH"
alias python='/station/guillaume/anaconda3/bin/python'
#########
# Alias #
#########
alias ding='echo -e "\a"'
alias calc='python -ic "from __future__ import division; from math import *"'
alias h="history|grep "
alias f="find . |grep "
alias p="ps aux |grep "
alias cdl="cd /data/guillaume"
alias ls="ls --color=auto"
alias ll="ls -hal"
alias sv="ssh compute_cluster"
alias ms="ls"
alias jl="jupyter lab"
alias lst="jupyter notebook list"
##########################
# bashrc personnalisation#
##########################
force_color_prompt=yes
export EDITOR=nano
export BROWSER="firefox '%s' &"
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=
fi
fi
if [ "$color_prompt" = yes ]; then
#\h : hostname
#\u : user
#\w : current working directory
#\d : date
#\t : time
yellow=226
green=83
pink=198
blue=34
PS1="\[\033[38;5;22m\]\u\[$(tput sgr0)\]\[\033[38;5;163m\]@\[$(tput sgr0)\]\[\033[38;5;22m\]\h\[$(tput sgr0)\]\[\033[38;5;162m\]:\[$(tput sgr0)\]\[\033[38;5;172m\]{\[$(tput sgr0)\]\[\033[38;5;39m\]\w\[$(tput sgr0)\]\[\033[38;5;172m\]}\[$(tput sgr0)\]\[\033[38;5;162m\]>\[$(tput sgr0)\]"