mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-10 02:29:22 +01:00
{bash,zsh}rc: include the flags for prettier
This commit is contained in:
parent
29dc1af193
commit
3a429cc0c7
@ -584,7 +584,7 @@ if hash pnpm 2>/dev/null; then
|
|||||||
alias npx=pnpx
|
alias npx=pnpx
|
||||||
alias pnpmx=pnpx
|
alias pnpmx=pnpx
|
||||||
if ! hash prettier 2>/dev/null; then
|
if ! hash prettier 2>/dev/null; then
|
||||||
alias prettier="pnpm exec prettier"
|
alias prettier="pnpm exec prettier --cache --ignore-unknown"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
rc/zshrc
2
rc/zshrc
@ -574,7 +574,7 @@ if hash pnpm 2>/dev/null; then
|
|||||||
alias npx=pnpx
|
alias npx=pnpx
|
||||||
alias pnpmx=pnpx
|
alias pnpmx=pnpx
|
||||||
if ! hash prettier 2>/dev/null; then
|
if ! hash prettier 2>/dev/null; then
|
||||||
alias prettier="pnpm exec prettier"
|
alias prettier="pnpm exec prettier --cache --ignore-unknown"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user