mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
fixed incorrect if/else
This commit is contained in:
parent
8d60a0c800
commit
9a4fac184e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue