News for hackers. Stuff that matters.
Re:Using GNU Stow to manage your dotfiles by burke on Tuesday October 21, 2014 @04:01PM (#8489536)
That is terrifying. I just added this to my zshrc:

    git() {
      local toplevel=$(command git rev-parse --show-toplevel 2>/dev/null)
      if [[ "${toplevel}" == "${HOME}" ]] && [[ "$1" == "clean" ]]; then
        >&2 echo "Do NOT run git clean in this repository."
        return
      fi
      command git "$@"
    }

There are no comments on this comment yet.