From e152f483169ec7b6a861b7ef884587fe25326598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Thu, 12 Feb 2026 10:29:36 +0100 Subject: [PATCH] Style fixes --- lib/cli.zsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/cli.zsh b/lib/cli.zsh index 4fefa0050..3088707e7 100644 --- a/lib/cli.zsh +++ b/lib/cli.zsh @@ -93,8 +93,8 @@ function _omz { trace::view) local -a opts traces traces=("${ZSH_CACHE_DIR}/.traces/"*.log(N:t)) - # opts=('-w:View in browser') - # _describe 'options' opts + opts=('--no-web:View file in terminal') + _describe 'options' opts _describe 'trace' traces ;; esac elif (( CURRENT > 4 )); then @@ -956,9 +956,9 @@ function _omz::trace::clean { fi # Print found PR branches - print -l "Found these traces:" ${traces:t} + print -l -- "Found these traces:" ${${traces:t}/#/\- } # Confirm before removing the branches - _omz::confirm "do you want remove them? [Y/n] " + _omz::confirm "do you want to remove them? [Y/n] " # Only proceed if the answer is a valid yes option [[ "$REPLY" != [yY$'\n'] ]] && return