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"
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue