git autocomplete not working in subshell
See original GitHub issueThanks a lot for this awesome project 👍
I am trying out for the first time. I have git autocomplete enabled, using this https://github.com/git/git/blob/master/contrib/completion/git-completion.bash
When I activate virtualenv using pipenv shell
, git autocomplete doesn’t work anymore
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Bash tab completion fails inside of command substitution
The problem is that when I type in $(pidof and a few characters of the target processes' name, then try to tab complete...
Read more >[Solved]-Git autocomplete in bash aliases?-bash - appsloveworld
On Linux Mint, the accepted answer didn't work for me. I was getting bash: [: 1: unary operator expected . I found the...
Read more >Autocompletion for custom git commands
Custom git commands, or git extensions, can be used to make highly specialized commands for the project you are currently working in. This...
Read more >Git alias with positional parameters - command - Stack Overflow
An alias without ! is treated as a Git command; e.g. commit-all = commit -a . ... "git new" is equivalent to running...
Read more >Bash Autocomplete Subdirectory for Custom Command
The problem is, those subdirectories live in a static location. project directory ->public ->submodules ->a-module ->another-module ->other- ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
By moving
source ~/.git-completion.bash
into~/.bashrc
then git autocompletion is restored.@nateprewitt I am using
bash
.This is default configuration on OSX. I have only added this line in ~/.profile
source ~/.git-completion.bash
to enable git completion. I thought it was bug because activating venv doesn’t affect it.Anyway, not big of an inconvenience. I will try to figure out what
pipenv shell
does.