Skip to content

Commit d53f86e

Browse files
committed
fix(python): pyright:6: command not found: node_modules/.bin/pyright
1 parent 7efad46 commit d53f86e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotfiles/.zshrc.d/python.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ debugpy() {
3838
}
3939

4040
pyright() {
41-
if [[ -e .venv/lib/*/site-packages/pyright/dist/index.js ]]; then
41+
if [[ -e .venv/lib/*/site-packages/pyright/dist/index.js(#qN) ]]; then
4242
# installed via pypi
4343
node .venv/lib/*/site-packages/pyright/dist/index.js "$@"
4444
else

0 commit comments

Comments
 (0)