dotfiles/dot_config/fish
2025-09-27 12:22:41 +01:00
..
completions breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00
conf.d breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00
functions breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00
themes breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00
config.fish breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00
private_fish_variables breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00
readme.md breaking: Remove setup script and use chezmoi 2025-09-27 02:25:06 +01:00

type -q vs command -v

󰈺 > time for i in (seq 1 10000)
            type -q vim
    end

    time for i in (seq 1 10000)
            command -v vim >/dev/null
    end


________________________________________________________
Executed in  545.79 millis    fish           external
   usr time  177.62 millis  174.28 millis    3.34 millis
   sys time  367.72 millis  366.16 millis    1.56 millis


________________________________________________________
Executed in  292.97 millis    fish           external
   usr time   71.23 millis   69.31 millis    1.93 millis
   sys time  215.22 millis  214.78 millis    0.44 millis

command -v is faster