lib/howzit/prompt.rb in howzit-2.0.19 vs lib/howzit/prompt.rb in howzit-2.0.20

- old
+ new

@@ -98,10 +98,10 @@ '-1', '-m', "--height=#{height}", '--header="Use tab to mark multiple selections, enter to display/run"', '--prompt="Select a section > "', - '--preview="howzit {}"' + %(--preview="howzit --no-pager --header-format block --no-color --default --multiple first {}") ] res = `echo #{Shellwords.escape(matches.join("\n"))} | fzf #{settings.join(' ')}`.strip if res.nil? || res.empty? Howzit.console.info 'Cancelled' Process.exit 0