π jrvs.io
Personal link shortener powered by Netlify and a caveman-esque shell script.
./short.sh https://github.com/jakejarvis git
πͺ https://jrvs.io/git now points to https://github.com/jakejarvis!
Adding this function to .bashrc
, .zshrc
, etc. lets us run short
from anywhere.
short() {
# parentheses let us cd to this directory without changing our current working directory
( cd <LOCAL_PATH_TO_THIS_REPO> && bash -c "./short.sh $*" )
}
See src/_redirects
.
MIT