home | bashrc - fix parsing issue, remove bash_complition bit for task alias

This commit is contained in:
Don Harper 2023-10-08 23:44:13 -05:00
parent bcf2d1c644
commit 7c2bf505f2

View file

@ -143,7 +143,7 @@ then
[ -f /etc/profile.d/bash-completion.sh ] && source /etc/profile.d/bash-completion.sh
[ -f /usr/local/share/bash-completion/bash_completion.sh ] && source/usr/local/share/bash-completion/bash_completion.sh
[ -f /usr/share/bash-completion/bash_completion ] && source /usr/share/bash-completion/bash_completion
[ ! -v ${BASH_COMPLETION_VERSINFO} -a -d ${HOME}/.bash_completion.d ] && for i in $(ls -1 ${HOME}/.bash_completion.d/*.sh); do source $i; done
[ ! -v ${BASH_COMPLETION_VERSINFO} -a -d ${HOME}/.bash_completion.d ] && for i in $(\ls -1 ${HOME}/.bash_completion.d/*.sh); do source $i; done
export PROMPT_COMMAND='history -a' # Always append history files
PS1='\u@\h:\w> '
@ -166,5 +166,5 @@ then
# BEGIN_KITTY_SHELL_INTEGRATION
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
# END_KITTY_SHELL_INTEGRATION
complete -o nospace -F _task t
#complete -o nospace -F _task t
fi