Hacker News new | ask | show | jobs
by mayli 358 days ago
you are welcome

    cat ~/.local/bin/uve
    #!/bin/bash
    temp=$(mktemp)
    uv export --script $1 --no-hashes > $temp
    uv run --with-requirements $temp vim $1
    unlink $temp
2 comments

If I may ask, why `unlink` instead of `rm`?
This is rather silly.