tide
tide copied to clipboard
Disabling cmd_duration doesn't work
Describe the bug
Removing cmd_duration from $tide_right_prompt_items does not stop it from showing when a command takes 3 or more seconds to run
Steps to reproduce
-
set --universal tide_right_prompt_items status context jobs direnv node python rustc java php pulumi ruby go gcloud kubectl distrobox toolbox terraform aws nix_shell crystal elixir zig -
echo $tide_right_prompt_items(cmd_duration not listed) - Close terminal > open new terminal (just in case)
- Run a command that lasts >= 3 seconds
- Press ctrl+c
- Duration still shows on the right side
Environment
fish version: 4.0.0
tide version: 6.1.1
term: xterm-256color
os: macOS 15.3.2 (24D81)
terminal emulator: VS Code integrated terminal or iTerm2
fish startup: 12.55 millis
fisher plugins: ilancosman/tide@v6
Additional context
set --universal tide_cmd_duration_threshold 999999999 functions correctly as a workaround, so I'm not sure what that suggests.