Compare commits

...

2 Commits

Author SHA1 Message Date
Ray Elliott 978454d904 shadow npm command with function.
use yarn instead
2020-03-30 13:07:12 +01:00
Ray Elliott 94212a12b3 add youtube download functions 2020-03-30 13:05:59 +01:00
1 changed files with 16 additions and 0 deletions

View File

@ -68,3 +68,19 @@ smartresize() {
mc() {
mkdir "$1" && cd "$1"
}
# TODO testing
ytdl-ct() {
ssh "youtube-dl@192.168.0.118 'screen -m -d ./download.sh $1'"
}
# TODO testing
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'"
}