Skip to content

v4.5

Latest

Choose a tag to compare

@pbnkp pbnkp released this 29 Jun 20:13

smash v4.5

Fixed

  • smash --edit no longer crashes with "command nano -w not found". The editor is resolved into a bash array — $VISUAL/$EDITOR honored (multi-word safe, e.g. code --wait); falls back nano → pico → vi → vim if unset.

Added

  • -z / --zstd (opt-in zstd, .zst.b64, decode auto-detects)
  • --level N, --threads N, -q / --quiet

Speed

  • xz -T0 multithreading (probed at startup); pigz auto-used for -g

Security

  • temp files honor $TMPDIR; .dtar decode rejects absolute/.. traversal paths; API-key temp files wired into the cleanup trap

bash 3.2-safe — full test matrix passes under macOS /bin/bash 3.2.

Install: brew upgrade smash (tap) or curl -fsSL https://raw.githubusercontent.com/pbnkp/smash/main/install.sh | bash