16 lines
494 B
Bash
16 lines
494 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)"
|
|
|
|
# Autocompletion
|
|
bind 'set show-all-if-ambiguous on'
|
|
#bind 'TAB:menu-complete'
|
|
bind 'set colored-completion-prefix on'
|