Skip to content

Instantly share code, notes, and snippets.

@mike-clark-8192
mike-clark-8192 / install_z_sh.sh
Created February 24, 2024 11:23 — forked from mevanlc/install_z_sh.sh
Helper script to install z.sh (jump around) - https://github.com/rupa/z
#!/bin/sh
SOURCE_URL="https://raw.githubusercontent.com/rupa/z/master/z.sh"
OUTPUT_LOC="$HOME/.z.sh"
usage_doc="Usage: $0 [-h] [-u url] [-o file]
-h this help
-u <url> download from <url>
default: $SOURCE_URL
-o <file> download to <file>