mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2026-01-02 00:27:54 +01:00
Compare commits
3 Commits
a62664de3e
...
a76b159eb3
| Author | SHA1 | Date | |
|---|---|---|---|
| a76b159eb3 | |||
| 48538ae680 | |||
| 718c4a8b71 |
@ -612,7 +612,7 @@ if hash corepack 2> /dev/null; then
|
||||
alias npm="corepack npm"
|
||||
alias npx="corepack npx"
|
||||
if ! hash prettier 2> /dev/null; then
|
||||
alias prettier="pnpm exec prettier --cache --ignore-unknown"
|
||||
alias prettier="pnpx prettier --cache --ignore-unknown"
|
||||
fi
|
||||
else
|
||||
echo "Information: corepack is not installed."
|
||||
|
||||
2
rc/zshrc
2
rc/zshrc
@ -602,7 +602,7 @@ if hash corepack 2>/dev/null; then
|
||||
alias npm="corepack npm"
|
||||
alias npx="corepack npx"
|
||||
if ! hash prettier 2>/dev/null; then
|
||||
alias prettier="pnpm exec prettier --cache --ignore-unknown"
|
||||
alias prettier="corepack pnpx prettier --cache --ignore-unknown"
|
||||
fi
|
||||
else
|
||||
echo "Information: corepack is not installed."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user