Skip to content

Commit

Permalink
Zsh completion output
Browse files Browse the repository at this point in the history
- FIXED: zsh completion not outputting results
  • Loading branch information
ttscoff committed Nov 18, 2021
1 parent 8baab41 commit 9632261
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/doing/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Doing
VERSION = '2.0.6.pre'
VERSION = '2.0.7.pre'
end
5 changes: 3 additions & 2 deletions scripts/generate_zsh_completions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ZshCompletions
attr_accessor :commands, :global_options

def generate_helpers
<<~EOFUNCTIONS
out=<<~EOFUNCTIONS
compdef _doing doing
function _doing() {
Expand Down Expand Up @@ -57,6 +57,8 @@ def generate_helpers
}
EOFUNCTIONS
status('Complete', reset: false)
out
end

def get_help_sections(command = '')
Expand Down Expand Up @@ -161,7 +163,6 @@ def initialize

def generate_completions
generate_helpers
status('Complete', reset: false)
end
end

Expand Down

0 comments on commit 9632261

Please sign in to comment.