summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh')
-rw-r--r--zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh44
1 files changed, 0 insertions, 44 deletions
diff --git a/zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh b/zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh
deleted file mode 100644
index bcb8661..0000000
--- a/zsh/oh-my-zsh/plugins/yarn/yarn.plugin.zsh
+++ /dev/null
@@ -1,44 +0,0 @@
-if zstyle -T ':omz:plugins:yarn' global-path; then
- # Skip yarn call if default global bin dir exists
- [[ -d "$HOME/.yarn/bin" ]] && bindir="$HOME/.yarn/bin" || bindir="$(yarn global bin 2>/dev/null)"
-
- # Add yarn bin directory to $PATH if it exists and not already in $PATH
- [[ $? -eq 0 ]] \
- && [[ -d "$bindir" ]] \
- && (( ! ${path[(Ie)$bindir]} )) \
- && path+=("$bindir")
- unset bindir
-fi
-
-alias y="yarn"
-alias ya="yarn add"
-alias yad="yarn add --dev"
-alias yap="yarn add --peer"
-alias yb="yarn build"
-alias ycc="yarn cache clean"
-alias yd="yarn dev"
-alias yga="yarn global add"
-alias ygls="yarn global list"
-alias ygrm="yarn global remove"
-alias ygu="yarn global upgrade"
-alias yh="yarn help"
-alias yi="yarn init"
-alias yin="yarn install"
-alias yln="yarn lint"
-alias ylnf="yarn lint --fix"
-alias yls="yarn list"
-alias yout="yarn outdated"
-alias yp="yarn pack"
-alias yrm="yarn remove"
-alias yrun="yarn run"
-alias ys="yarn serve"
-alias yst="yarn start"
-alias yt="yarn test"
-alias ytc="yarn test --coverage"
-alias yuc="yarn global upgrade && yarn cache clean"
-alias yui="yarn upgrade-interactive"
-alias yuil="yarn upgrade-interactive --latest"
-alias yup="yarn upgrade"
-alias yv="yarn version"
-alias yw="yarn workspace"
-alias yws="yarn workspaces"