Add alias to get current versions of node

This commit is contained in:
Buddy Sandidge 2021-07-06 00:40:05 -07:00
parent 67236b0343
commit bdef726a38

View File

@ -0,0 +1,5 @@
# shellcheck shell=bash
#ft=sh
alias node_current="curl --silent https://nodejs.org/dist/index.tab | cut -f 1,10 | grep -v '-' | head -n 2 | tail -n 1 | cut -f 1"
alias node_lts="curl --silent https://nodejs.org/dist/index.tab | cut -f 1,10 | grep '-' | head -n 1 | cut -f 1"