 if [ -f ~/.bashrc ]; then
    source ~/.git-prompt.sh
    source ~/.bashrc
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 " (%s)")\$ '
 fi

# Thefuck to have 'fuck' alias to correct last command
eval $(thefuck --alias fuck)

# To enable conda auto-completion
eval "$(register-python-argcomplete conda)"

# Set browser
BROWSER=$(which firefox)

# Autocompletion
bind 'set show-all-if-ambiguous on'
#bind 'TAB:menu-complete'
bind 'set colored-completion-prefix on'

# Add paths
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

if [ -d "$HOME/.emacs.d/bin" ] ; then
    PATH="$HOME/.emacs.d/bin:$PATH"
fi

if [ -d "/usr/local/go" ]; then
    PATH="$PATH:/usr/local/go/bin"
fi

if [ -d "$HOME/.cargo"  ]; then
    . "$HOME/.cargo/env"
fi

if [ -e /home/polarolouis/.nix-profile/etc/profile.d/nix.sh ]; then 
    . /home/polarolouis/.nix-profile/etc/profile.d/nix.sh;
    export XDG_DATA_DIRS=$HOME/.nix-profile/share:$HOME/.share:"${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}" 
fi # added by Nix installer

