Personal preferences, bash completion and configs

This commit is contained in:
Bart van der Braak 2024-10-17 22:43:01 +02:00
parent d04c49190a
commit ab876da423
3 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,14 @@
if [ -e $HOME/.bash_aliases ]; then
source $HOME/.bash_aliases
fi
if command -v fzf > /dev/null; then
source <(fzf --bash)
fi
if command -v rg > /dev/null; then
source <(rg --generate=complete-bash)
fi
PROMPT_DIRTRIM=2
PS1='\[\033[0;33m\][\u@\h:\w]\$\[\033[0m\] '