From 147ec5fdf7e3e14d58718c3600e91ea16e9be55e Mon Sep 17 00:00:00 2001 From: ray Date: Thu, 3 Sep 2020 17:42:36 +0100 Subject: [PATCH] remove yarn check --- profile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/profile b/profile index 8569d86..10ca6ce 100644 --- a/profile +++ b/profile @@ -7,18 +7,7 @@ if command -v ruby ; then export PATH="$ruby_path:$PATH" fi &> /dev/null -if command -v yarn ; then - yarn_path=$(yarn global bin) - export PATH="$yarn_path:$PATH" - - alias npm_real=$(command -v npm) - function npm { - echo "Please use Yarn instead!!" - echo " If you must use npm use: 'npm_real'" - } -fi &> /dev/null - -export PATH="$PATH:$HOME/.local/bin:$yarn_path:$ruby_path" +export PATH="$PATH:$HOME/.local/bin:$ruby_path" # https://developers.google.com/web/tools/puppeteer/troubleshooting export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox