{bash,zsh}rc: fix the prettier alias

This commit is contained in:
Aminda Suomalainen 2024-06-06 16:53:52 +03:00
parent 63bcb79475
commit 89e5549cea
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 2 additions and 2 deletions

View File

@ -584,7 +584,7 @@ if hash pnpm 2>/dev/null; then
alias npx=pnpx
alias pnpmx=pnpx
if ! hash prettier 2>/dev/null; then
alias prettier="pnpx prettier"
alias prettier="pnpm exec prettier"
fi
fi

View File

@ -574,7 +574,7 @@ if hash pnpm 2>/dev/null; then
alias npx=pnpx
alias pnpmx=pnpx
if ! hash prettier 2>/dev/null; then
alias prettier="pnpx prettier"
alias prettier="pnpm exec prettier"
fi
fi