shadow npm command with function.

use yarn instead
This commit is contained in:
Ray Elliott 2020-03-30 13:07:12 +01:00
commit 978454d904

View file

@ -78,3 +78,9 @@ ytdl-ct() {
ytdl-ct-audio() {
ssh "youtube-dl@192.168.0.118 'screen -m -d ./download.sh --config-location ~/.config/youtube-dl/config-audio-only $1'"
}
alias npm_real=$(command -v npm)
function npm {
echo "Please use Yarn instead!!"
echo " If you must use npm use: 'npm_real'"
}