pydoit / doit

CLI task management & automation tool
http://pydoit.org
MIT License
1.84k stars 175 forks source link

add tab completion support for gitbash #433

Closed martin-eder-zeiss closed 2 years ago

martin-eder-zeiss commented 2 years ago

Currently tab completion does not work in gitbash, because windows does not use "/" as directory separator. The generated bash functions therefore do not have valid names. e.g.

complete -o filenames -F _C:\Users\user\AppData\Roaming\Python\Python310\Scripts\doit C:\Users\user\AppData\Roaming\Python\Python310\Scripts\doit
codecov-commenter commented 2 years ago

Codecov Report

Merging #433 (0259f39) into master (6e58b55) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #433   +/-   ##
=======================================
  Coverage   99.24%   99.24%           
=======================================
  Files          60       60           
  Lines        9134     9135    +1     
=======================================
+ Hits         9065     9066    +1     
  Misses         69       69           
Impacted Files Coverage Δ
doit/cmd_completion.py 98.37% <100.00%> (+0.01%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6e58b55...0259f39. Read the comment docs.

tom-varga commented 2 years ago

On my way.

-Tom On Jul 31, 2022, 11:44 AM -0400, Codecov Comments Bot @.***>, wrote:

Codecov Report

Merging #433 (0259f39) into master (6e58b55) will increase coverage by 0.00%. The diff coverage is 100.00%. @@ Coverage Diff @@

master #433 +/-

=======================================

Coverage 99.24% 99.24%

=======================================

Files 60 60

Lines 9134 9135 +1

=======================================

  • Hits 9065 9066 +1

    Misses 69 69 Impacted Files Coverage Δ doit/cmd_completion.py 98.37% <100.00%> (+0.01%) ⬆️ Continue to review full report at Codecov.

    Legend - Click here to learn more Δ = absolute (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6e58b55...0259f39. Read the comment docs. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

schettino72 commented 2 years ago

merged. thanks.