From c45abc62b9385a3507f08a297a320d25e93ecf36 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 25 Oct 2022 08:37:36 +0000 Subject: [PATCH] Update dotfiles/.bashrc --- dotfiles/.bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index fd2ec8b0..3b6779ed 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -69,7 +69,7 @@ HISTFILESIZE=5000 HISTFILE=~/.bash_history # Bash Completion -if [ "$0" = 'bash' ]; then +if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then if [ -f /usr/share/bash-completion/bash_completion ]; then . /usr/share/bash-completion/bash_completion elif [ -f /etc/bash_completion ]; then @@ -78,7 +78,7 @@ if [ "$0" = 'bash' ]; then fi # Prompt (on bash only) -if [ "$0" = 'bash' ]; then +if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then # Add new line before prompt PROMPT_COMMAND="PROMPT_COMMAND=echo" if [ -f /etc/os-release ]; then @@ -212,7 +212,7 @@ rgafzf() { } # Bash completions -if [ "$0" = 'bash' ]; then +if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then ### fd [ -e /usr/local/src/fd/fd ] && source /usr/local/src/fd/autocomplete/fd.bash-completion