summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_less
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-10-14 23:03:40 +0200
committerOliver Kiddle <opk@zsh.org>2014-10-14 23:04:45 +0200
commit13fc579343b24d298fb8905933b6000d7fcda114 (patch)
treecbc1000696357438714107635f93166bcab76d3a /Completion/Unix/Command/_less
parent66320ca93a717467a0ed0d34da4c06257953aa50 (diff)
downloadzsh-13fc579343b24d298fb8905933b6000d7fcda114.tar.gz
zsh-13fc579343b24d298fb8905933b6000d7fcda114.zip
33467: correct return status on functions and numerous other minor fixes
Diffstat (limited to 'Completion/Unix/Command/_less')
-rw-r--r--Completion/Unix/Command/_less8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_less b/Completion/Unix/Command/_less
index ede54a49c..a3ba8f665 100644
--- a/Completion/Unix/Command/_less
+++ b/Completion/Unix/Command/_less
@@ -24,8 +24,8 @@ if compset -P '+[-0-9]#'; then
g:goto\ line
F:scroll\ to\ end\ and\ keep\ reading\ file
G:go\ to\ end\ of\ file
- %:go\ to\ position\ in\ file
- p:go\ to\ position\ in\ file
+ %:go\ to\ position\ in\ file
+ p:go\ to\ position\ in\ file
)'
return
fi
@@ -101,9 +101,9 @@ if [[ -n "$state" ]]; then
;;
tags)
if (( $+LESSGLOBALTAGS )); then
- _global_tags
+ _global_tags && ret=0
else
- _ctags_tags
+ _ctags_tags && ret=0
fi
;;
esac