34 lines
874 B
Bash
34 lines
874 B
Bash
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
|