remove yarn check
This commit is contained in:
parent
7d3f64df61
commit
147ec5fdf7
13
profile
13
profile
|
@ -7,18 +7,7 @@ if command -v ruby ; then
|
||||||
export PATH="$ruby_path:$PATH"
|
export PATH="$ruby_path:$PATH"
|
||||||
fi &> /dev/null
|
fi &> /dev/null
|
||||||
|
|
||||||
if command -v yarn ; then
|
export PATH="$PATH:$HOME/.local/bin:$ruby_path"
|
||||||
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"
|
|
||||||
|
|
||||||
# https://developers.google.com/web/tools/puppeteer/troubleshooting
|
# https://developers.google.com/web/tools/puppeteer/troubleshooting
|
||||||
export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox
|
export CHROME_DEVEL_SANDBOX=/usr/lib/chromium/chrome-sandbox
|
||||||
|
|
Loading…
Reference in New Issue