mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
feat: add an optional fun animation on the bottom
This commit is contained in:
parent
9fc3f3dcd6
commit
df6b695dd6
8 changed files with 1545 additions and 777 deletions
|
|
@ -47,10 +47,10 @@ _taskman() {
|
|||
if command -v python3 >/dev/null 2>&1; then
|
||||
local plugin_dir="${0:h}"
|
||||
local -a task_ids
|
||||
|
||||
|
||||
# Try to get task IDs from the CLI
|
||||
task_ids=($(python3 "$plugin_dir/bin/task_cli.py" list all 2>/dev/null | grep -o '(ID: [0-9]\+)' | grep -o '[0-9]\+' 2>/dev/null))
|
||||
|
||||
task_ids=($(python3 "$plugin_dir/task_cli.py" list all 2>/dev/null | grep -o '(ID: [0-9]\+)' | grep -o '[0-9]\+' 2>/dev/null))
|
||||
|
||||
if [[ ${#task_ids[@]} -gt 0 ]]; then
|
||||
_describe 'task IDs' task_ids
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue