shadow npm command with function.
use yarn instead
This commit is contained in:
parent
94212a12b3
commit
978454d904
1 changed files with 6 additions and 0 deletions
|
|
@ -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'"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue