diff --git a/dotfiles/bash/bashrc b/dotfiles/bash/bashrc index e36c297..21451bd 100644 --- a/dotfiles/bash/bashrc +++ b/dotfiles/bash/bashrc @@ -49,7 +49,10 @@ if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then source ~/.bash-git-prompt/gitprompt.sh fi -eval "$(register-python-argcomplete schedule_timer)" +if pip show argcomplete >/dev/null 2>&1; then + eval "$(register-python-argcomplete schedule_timer)" +fi + case "$TERM" in xterm-kitty) source <(kitty + complete setup bash);;