News for hackers. Stuff that matters.
Re:Astral to Join OpenAI by pdntspa on Thursday March 19, 2026 @12:05PM (#47441685)
Then can they please figure out some way of invoking it that doesnt require prefixing everything with 'uv'
Re:Astral to Join OpenAI by tomrod on Thursday March 19, 2026 @12:23PM (#47441938)
alias in ~/.zshrc?
Re:Astral to Join OpenAI by cjp on Thursday March 19, 2026 @12:29PM (#47442021)
Re:Astral to Join OpenAI by malcolmgreaves on Thursday March 19, 2026 @12:30PM (#47442030)
uv run bash/zsh/your shell of choice
Re:Astral to Join OpenAI by maleldil on Thursday March 19, 2026 @12:41PM (#47442208)
You can source the virtualenv like normal.
Re:Astral to Join OpenAI by arw0n on Thursday March 19, 2026 @02:57PM (#47444173)
For any command, you can create an 'alias' in your shell config. That way you can get rid of the prefix.
Re:Astral to Join OpenAI by ghshephard on Friday March 20, 2026 @07:06PM (#47462004)
Solved with direnv. Also - in my .bashrc in all of my (many) clients:

  $ type uvi uvl uvv
  uvi is a function
  uvi ()
  {
      uv pip install $@
  }
  uvl is a function
  uvl ()
  {
      uv pip list
  }
  uvv is a function
  uvv ()
  {
      uv venv;
      cat > .envrc <<EOF
  source .venv/bin/activate
  EOF

      direnv allow
  }
Re:Astral to Join OpenAI by duskdozer on Saturday March 21, 2026 @08:52AM (#47466575)
That would defeat the purpose of creating and expanding their brand.