diff --git a/home/shrc b/home/shrc index e9b64bf..2703bdd 100644 --- a/home/shrc +++ b/home/shrc @@ -104,6 +104,10 @@ else ll() { ls -lAX --group-directories-first --color=force "$@" | less; } fi +if ! has busybox && has busybox-static; then + busybox() { busybox-static "$@"; } +fi + gdp() { ### @- invoke `gd` to diff a commit from its parent. the commit defaults to "HEAD". local commit="${1:-HEAD}" [ $# -le 1 ] || { printf '%s: %s\n' gdp "too many arguments" >&2; return 64; }