Skip to content

Commit

Permalink
Install uv completion in demo container
Browse files Browse the repository at this point in the history
  • Loading branch information
AndydeCleyre committed Dec 11, 2024
1 parent 03d150e commit fd8a49a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mk/ctnr/zpy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ fi
printf 'zpy_branch: %s\n' "$zpy_branch"
printf 'zpy_version: %s\n' "$zpy_version"

# Install uv, rich-cli
ctnr_run -u zsh -ic 'pipz install --cmd uv uv; pipz install --cmd rich rich-cli'
ctnr_run -u mkdir -p /home/${user}/.local/share/zsh/site-functions
# shellcheck disable=SC2088
ctnr_run -u sh -c '~/.local/bin/uv generate-shell-completion zsh >~/.local/share/zsh/site-functions/_uv'

# Install standalone vpy script, for simpler shebangs
ctnr_run -u mkdir -p /home/${user}/.local/bin
ctnr_run -u zsh -ic 'zpy mkbin vpy ~/.local/bin/vpy'

# Set aliases
Expand Down

0 comments on commit fd8a49a

Please sign in to comment.