function fish_preexec --on-event fish_preexec set -g __fish_prompt_command_ran 1 end