summaryrefslogtreecommitdiff
path: root/plugins/cap
diff options
context:
space:
mode:
authorKoen Punt <koen@koenpunt.nl>2012-09-13 12:20:44 +0200
committerKoen Punt <koen@koenpunt.nl>2012-09-13 12:20:44 +0200
commit9a4fac184ea1aa7a2e86e50111548a0a98652aaf (patch)
tree31a762a103cb6ce3f58530040fad45d651020434 /plugins/cap
parent8d60a0c80039048b836205475dfcf258bd776912 (diff)
downloadzsh-9a4fac184ea1aa7a2e86e50111548a0a98652aaf.tar.gz
zsh-9a4fac184ea1aa7a2e86e50111548a0a98652aaf.tar.bz2
zsh-9a4fac184ea1aa7a2e86e50111548a0a98652aaf.zip
fixed incorrect if/else
Diffstat (limited to 'plugins/cap')
-rw-r--r--plugins/cap/cap.plugin.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cap/cap.plugin.zsh b/plugins/cap/cap.plugin.zsh
index 04479f46f..d22d10401 100644
--- a/plugins/cap/cap.plugin.zsh
+++ b/plugins/cap/cap.plugin.zsh
@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0
_cap_task_cache_file='.cap_task_cache'
_cap_get_task_list () {
- if [ ${_cap_show_undescribed_tasks} -eq 0 ]
+ if [ ${_cap_show_undescribed_tasks} -eq 0 ]; then
cap -T | grep '^cap' | cut -d " " -f 2
else
cap -vT | grep '^cap' | cut -d " " -f 2