[READ-ONLY] Mirror of https://github.com/bombshell-dev/tab. shell autocompletions for javascript CLIs
4

Configure Feed

Select the types of activity you want to include in your feed.

fix/hanging-perf (#56)

authored by

AmirHossein Sakhravi and committed by
GitHub
(Sep 25, 2025, 12:01 PM +0330) b941005a b6ae1136

+4 -5
+4 -5
src/zsh.ts
··· 195 195 if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then 196 196 __${name}_debug "deactivating file completion" 197 197 198 - # We must return an error code here to let zsh know that there were no 199 - # completions found by _describe; this is what will trigger other 200 - # matching algorithms to attempt to find completions. 201 - # For example zsh can match letters in the middle of words. 202 - return 1 198 + # Return 0 to indicate completion is finished and prevent zsh from 199 + # trying other completion algorithms (which could cause hanging). 200 + # We use NoFileComp directive to explicitly disable file completion. 201 + return 0 203 202 else 204 203 # Perform file completion 205 204 __${name}_debug "Activating file completion"