remove yarn check

This commit is contained in:
Ray Elliott 2020-09-03 17:42:36 +01:00
parent 7d3f64df61
commit 147ec5fdf7
1 changed files with 1 additions and 12 deletions

13
profile
View File

@ -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