9a4fac184ea1aa7a2e86e50111548a0a98652aaf
- Author
- Koen Punt <koen@koenpunt.nl>
- Committer
- Koen Punt <koen@koenpunt.nl>
- Date
Message
fixed incorrect if/else
Diff
1diff --git a/plugins/cap/cap.plugin.zsh b/plugins/cap/cap.plugin.zsh
2index 04479f46f589acc053b8e862deebad7ce8efe5a8..d22d104017ecdddad5b670d1188140e6c39f2672 100644
3--- a/plugins/cap/cap.plugin.zsh
4+++ b/plugins/cap/cap.plugin.zsh
5@@ -12,7 +12,7 @@ _cap_show_undescribed_tasks=0
6 _cap_task_cache_file='.cap_task_cache'
7
8 _cap_get_task_list () {
9- if [ ${_cap_show_undescribed_tasks} -eq 0 ]
10+ if [ ${_cap_show_undescribed_tasks} -eq 0 ]; then
11 cap -T | grep '^cap' | cut -d " " -f 2
12 else
13 cap -vT | grep '^cap' | cut -d " " -f 2