uv icon indicating copy to clipboard operation
uv copied to clipboard

Python file autocomplete with `uv run` on zsh with ohmyzsh

Open thethomp opened this issue 4 months ago • 15 comments

Howdy - this is likely just a question and not a bug, but after googling and ChatGPT-ing with no luck for quite a while, I figured I'd post here.

I have a standard install of ohmyzsh on my macbook and have installed uv and am using it a lot and love it.

Interestingly though, I am finding when I use uv run file_i_want_to_run.py, the Python file I want to run won't autocomplete with tab the way it normally does when running things just plainly with python file_i_want_to_run.py.

I've enabled all the autocomplete settings that are in the docs, but those seem to only apply to internal uv/uvx commands. Is this the intended behavior or am I missing a setting somewhere perhaps? Or is this a ohmyzsh issue?

Appreciate any input or feedback!

On an Apple M3 Max. Mac OS Sonoma 14.7. uv 0.4.9 (77d278f68 2024-09-10)

thethomp avatar Oct 21 '24 22:10 thethomp