citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

fuzz-record-command (138B)


      1 #!/usr/bin/env bash
      2 set -eou pipefail
      3 fhist="$HOME/.fuzzhist"
      4 touch "$fhist"
      5 cmd="$@"
      6 if [ -n "$cmd" ]; then
      7   echo "$cmd" >> "$fhist"
      8 fi