A few ideas:

  • it’d come in like a wrecking ball
  • it would be slimmed-down, surgically
  • notification every 5 secs to remind you that her dad is (supposedly) a big deal
  • it would be annoyingly noisy
  • ZoteTheMighty@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    2 days ago

    DD Linux comes with a very special /etc/bashrc

    preexec () { dd "$@" }
    preexec_invoke_exec () {
        [ -n "$COMP_LINE" ] && return  # do nothing if completing
        [ "$BASH_COMMAND" = "$PROMPT_COMMAND" ] && return # don't cause a preexec for $PROMPT_COMMAND
        local this_command=`HISTTIMEFORMAT= history 1 | sed -e "s/^[ ]*[0-9]*[ ]*//"`;
        preexec "$this_command"
    }
    trap 'preexec_invoke_exec' DEBUG
    

    This neat little wrapper will send any command you input to dd, then, if that returns with a 0 exit status, actually run your command in the prompt. I think Danny Devito would approve.