zsh: save actual command to history in f function