prezto icon indicating copy to clipboard operation
prezto copied to clipboard

prezto-grunt-cache.501.zsh:37: command not found: compdef

Open binarykitchen opened this issue 6 years ago • 3 comments

Description

Each time I start a new session with ZSH this error comes up.

Expected behavior

No error upon new ZSH session at all.

Actual behavior

This:

└─( 3 ) ❱❱❱ zsh                                                                                                                                                              130 ⏎  +541 11:36 ❰─┘
/var/folders/g0/jzp533fj51n7987tgt94zn_w0000gn/T//prezto-grunt-cache.501.zsh:37: command not found: compdef

Steps to Reproduce

  1. Git pull latest from prezto
  2. Type zsh
  3. Booom! Above error gets printed.

Versions

  • Prezto commit:
commit 0e6429da97876c7ce0868966e8a812c29bcba0b3 (HEAD -> master, origin/master, origin/HEAD)
Author: Diego Rabatone Oliveira <[email protected]>
Date:   Mon Dec 17 16:22:33 2018 -0200

    Remove duplicated information from git module README (#1657)
  • ZSH version:
└─( 4 ) ❱❱❱ zsh --version                                                                                                                                                    130 ⏎  +544 12:13 ❰─┘
zsh 5.6.2 (x86_64-apple-darwin17.7.0)
  • OS information:
macOS High Sierra
Version 10.13.6

binarykitchen avatar Dec 17 '18 23:12 binarykitchen

Same problem here /tmp/prezto-gulp-cache.1000.zsh:25: command not found: compdef

crivotz avatar Jan 16 '19 15:01 crivotz

In my case the problem seems created by PR #1668 , this commit correctly fix the mistype glup but introduce a problem with zsh completion for gulp

crivotz avatar Jan 18 '19 08:01 crivotz

In my case, loading the node module after the completion did the trick! ☺️

roalcantara avatar Mar 03 '19 18:03 roalcantara