From 88a4bb542ba8f62e7fdd8ed0925b01bfb15279ac Mon Sep 17 00:00:00 2001 From: Jim Richter Date: Fri, 23 Apr 2021 15:27:39 +0200 Subject: [PATCH] replace yarn with pnpm in y command --- configs/zsh/functions/y.zsh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configs/zsh/functions/y.zsh b/configs/zsh/functions/y.zsh index ee7b746..b5b34c9 100644 --- a/configs/zsh/functions/y.zsh +++ b/configs/zsh/functions/y.zsh @@ -3,19 +3,19 @@ function y(){ for char in $(echo $word) do if [ $char = "i" ]; then - yarn install + pnpm i -r elif [ $char = "d" ]; then - yarn dev + pnpm dev elif [ $char = "b" ]; then - yarn build + pnpm build elif [ $char = "a" ]; then - yarn add + pnpm add elif [ $char = "u" ]; then - yarn upgrade + pnpm upgrade elif [ $char = "t" ]; then - yarn test + pnpm test elif [ $char = "c" ]; then - yarn coverage + pnpm coverage fi done } \ No newline at end of file