From 3b942a5cde63ce574ec0b188c85c98deed7794bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Tansorier?= Date: Fri, 26 Aug 2022 15:41:23 +0200 Subject: [PATCH] bashrc: Add bash completion source file --- bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bashrc b/bashrc index 593d460..df49596 100644 --- a/bashrc +++ b/bashrc @@ -38,12 +38,20 @@ PS1='\[\033[00;35m\][${debian_chroot:+($debian_chroot)}\u@\h\[\033[00;35m\]:\[\0 PS1='\[\033[00;33m\]$(print_time)\[\033[00;35m\][${debian_chroot:+($debian_chroot)}\u@\h\[\033[00;35m\]:\[\033[00;36m\]\w\[\033[00;35m\]]\[\033[00;31m\]$(parse_git_branch)\n\[\033[00m\]\$ ' +### Completion ### + +# Use bash-completion, if available +[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \ + . /usr/share/bash-completion/bash_completion + + ### Variable ### # For yaourt/pacman export VISUAL="vim" export EDITOR="vim" + ### Functions ### # convert hexadecimal to binary and vice-versa