mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Style fixes
This commit is contained in:
parent
727ea94e65
commit
e152f48316
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue