Fix node_lts/node_current alias

main
Buddy Sandidge 4 years ago
parent bdef726a38
commit b85d8e9c68

@ -1,5 +1,5 @@
# shellcheck shell=bash # shellcheck shell=bash
#ft=sh #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 -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" alias node_current="curl --silent https://nodejs.org/dist/index.tab | cut -f 1,10 | grep '-' | head -n 1 | cut -f 1"

Loading…
Cancel
Save