git completion runs cTest

Scrimbibete

I am in a weird situation under Ubuntu 18.04.2 LTS (using bash) :

I installed git via apt-get and everything works fine. However, when I want to autocomplete commands via git (I did not do anything for this to work, it is just a reflex to hit tab all the time), cTest starts.

It is strange as hell and I don't get how this can happen. Of course, cTest finds nothing and tells me that "No tests were found !!!".

Does anyone has an idea about how to fix this ?

Scrimbibete

Finally found a related post answering my question. In short, the git version coming with ubuntu, starting from version 12.10, actually contains and/or calls a test function. Having a test alias in the .bashrc file redirects the call to that alias.

However, the reason why hitting Tab while writing a git command triggered any kind of test function remains unknown.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Publisher sink never runs completion

git advanced alias completion

Strange characters in GIT completion

Git completion with aliases

Git completion for alias as if for Git itself

Git auto completion behaving strangely

Override bash completion for git clone

Homebrew’s `git` not using completion

Brew Git Bash Completion with zsh

systemd: How to start service B after service A runs to completion?

What's the advantages of git auto completion with bash?

Tab completion freezes for Git commands only

zsh: Tab completion for function with Git commands

Enabling auto-completion in git bash on windows?

ZSH completion for git does not autocomplete absolute path?

Git tab completion in zsh throwing errors

Git tab completion not working in zsh on mac

How to make bash completion work for git alias?

How to add custom git command to zsh completion?

Git tab completion stopped working on remote branches

Customizing completion in Prezto ZSH for git function

Git package breaks bash-completion?

Bash completion for git aliases containing multiple subcommands

Git bash completion does not complete git commands as expected

Tab completion for "git checkout" conflicting with "git cherry-pick"

Python script runs in PyCharm but not Git Bash

How to hard suspend or pause a python script after it runs so it doesn’t force close upon completion?

The "resolve" callback runs before completion of for loop and therefore an empty array is passed, Is the syntax wrong or is there any other way?

Tab completion and arrow keys don't work in GHCI in Git Bash