1
mirror of https://github.com/jakejarvis/jrvs.io.git synced 2025-04-26 01:55:24 -04:00
jrvs.io/README.md

864 B

🔗 jrvs.io

Netlify Status

Personal link shortener powered by Netlify and a caveman-esque shell script.

Usage

./short.sh https://github.com/jakejarvis git

🪄 https://jrvs.io/git now points to https://github.com/jakejarvis!

Shell function

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.

License

MIT