Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
9a4fac18
Commit
9a4fac18
authored
Sep 13, 2012
by
Koen Punt
Browse files
fixed incorrect if/else
parent
8d60a0c8
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/cap/cap.plugin.zsh
View file @
9a4fac18
...
@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0
...
@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0
_cap_task_cache_file
=
'.cap_task_cache'
_cap_task_cache_file
=
'.cap_task_cache'
_cap_get_task_list
()
{
_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
cap
-T
|
grep
'^cap'
|
cut
-d
" "
-f
2
else
else
cap
-vT
|
grep
'^cap'
|
cut
-d
" "
-f
2
cap
-vT
|
grep
'^cap'
|
cut
-d
" "
-f
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment