tide icon indicating copy to clipboard operation
tide copied to clipboard

Disabling cmd_duration doesn't work

Open mapleroyal opened this issue 9 months ago • 0 comments

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

  1. 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
  2. echo $tide_right_prompt_items (cmd_duration not listed)
  3. Close terminal > open new terminal (just in case)
  4. Run a command that lasts >= 3 seconds
  5. Press ctrl+c
  6. 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.

mapleroyal avatar Mar 23 '25 04:03 mapleroyal