Repository navigation
v0.1.0
First tagged release: h and up rewritten in C, from zimbatm/h.
Programs
hjumps to a project under your code root, cloning it if needed:h <name>searches up to three levels deep. The search ignores case unless the name has capitals, and deeper matches win.h <user>/<repo>goes togithub.com/<user>/<repo>. The GitHub API supplies the correct casing.h <url>goes to<domain>/<path>. It acceptshttps://,git://,git@host:pathandgitea@host:path.
h-shell-initprints thehshell function. It takes--pushd,--name NAME,--git-opts "OPTIONS"and an optional code root (default$H_CODE_ROOT, else~/src).upjumps to the root of the current project, found by.git,.hg,.envrc,Gemfileor direnv.up-shell-initprints theupshell function. It takes--pushd.
All four programs accept -V/--version, and their help messages show the version.
Setup
eval "$(h-shell-init [options] [code-root])"
eval "$(up-shell-init [--pushd])"Build with nix build, or make in src/ with libcurl and cJSON installed.