Open epogrebnyak opened 7 months ago
Sometimes paths can contain env variables. You might want to expand them, including expanduser
This we expand in Direcotry.canonical
Do you want to handle relative paths? This isn’t generally a good idea for the PATH variable, but it could be a decent exercise.
This not yet
also may have regex/glob in PATH for some shells perhaps like fzf/*/bin
A few thoughts:
Sometimes paths can contain env variables. You might want to expand them, including expanduser
Do you want to handle relative paths? This isn’t generally a good idea for the PATH variable, but it could be a decent exercise.
It would be worthwhile to test your package on Linux, especially since WSL is so easy to get up. Linux file systems generally don’t care about casing, so if you want to support it, then you’ll also want to handle that.
https://www.reddit.com/r/Python/comments/1ac7fao/comment/kjtuk6f/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button