Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support quoted tilde expansion #78

Closed
flexatone opened this issue Nov 8, 2024 · 2 comments · Fixed by #86
Closed

Support quoted tilde expansion #78

flexatone opened this issue Nov 8, 2024 · 2 comments · Fixed by #86

Comments

@flexatone
Copy link
Collaborator

$ fetter -e python3 unpack-count -p wcwidth-0.2.13
Package         Site                                                           Files  Dirs  
wcwidth-0.2.13  /Users/ariza/.env311-fetter-test/lib/python3.11/site-packages  19     2  
@flexatone
Copy link
Collaborator Author

I cannot reproduce this:

{.env311-fetter-test}{78/tilde} % cargo run -- -e "python3" unpack-count -p wcwidth-0.2.13
Package         Site                                                Files  Dirs  
wcwidth-0.2.13  ~/.env311-fetter-test/lib/python3.11/site-packages  19     2     

@flexatone
Copy link
Collaborator Author

Quoted tilde's are not expanded to home dirs:

This fails:

{.env311-fetter-test}{78/tilde} % cargo run -- -e "~/.env311-ff/bin/python3" unpack-count -p wcwidth-0.2.13
Failed to execute command with "/.env311-ff/bin/python3": No such file or directory (os error 2)

But this works:

{.env311-fetter-test}{78/tilde} % cargo run -- -e ~/.env311-ff/bin/python3 unpack-count -p wcwidth-0.2.13
Package         Site                                       Files  Dirs  
wcwidth-0.2.13  ~/.env311-ff/lib/python3.11/site-packages  19     2  

@flexatone flexatone changed the title unpack-* is not replacing home dirs with ~ Support quoted tilde expansion Jan 8, 2025
@flexatone flexatone linked a pull request Jan 8, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant