Skip to content

Instantly share code, notes, and snippets.

@bodokaiser
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bodokaiser/57732bd3b8bc969420f7 to your computer and use it in GitHub Desktop.
Save bodokaiser/57732bd3b8bc969420f7 to your computer and use it in GitHub Desktop.
Autoloader for janls cl add on
#!/bin/sh
# https://twitter.com/bodojs/status/476973611753152512
# https://twitter.com/bodojs/status/476974684974501888
# Bash Add-On Autoloader
[[ -d "$HOME/.bash" ]] || mkdir -p "$HOME/.bash"
[[ -f "$HOME/.bash/cl.sh" ]] || curl -o "$HOME/.bash/cl.sh" https://gist.githubusercontent.com/janl/e6ceb14ffcfca3556ba5/raw/b89254f3babe217bbdb085ad9a4df30cbbd6c1d8/cl.sh
source "$HOME/.bash/cl.sh"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment