intelli-shell icon indicating copy to clipboard operation
intelli-shell copied to clipboard

Pet 2 Intelli-Shell Converter

Open s3rgeym opened this issue 2 years ago • 3 comments

~   
❯ yay -Qo tomlq                              
/usr/bin/tomlq is owned by yq 3.2.2-2
                                                                                                                                                                                                                  
~   
❯ tomlq -r '.snippets[] | .command |= gsub("<(?<param>[^>]+)>"; "{{ \(.param) }}") | .command + " ## " + .description' ~/.config/pet/snippet.toml > commands.txt
                                                                                                                                                                                                                  
~   
❯ intelli-shell import commands.txt              
 -> Imported 1271 new commands
  • I miss fuzzy search.
  • I want full-text edit.
  • I needed to run a strace to find out where the commands are stored (~/.local/share/intelli-shell/storage.db3).

Thnx

s3rgeym avatar Aug 23 '23 02:08 s3rgeym

I also had to search for where the commands are stored

tealdeer has a nice se of option you may want to emulate

nkh avatar Aug 23 '23 14:08 nkh

I also had to search for where the commands are stored

tealdeer has a nice se of option you may want to emulate

Do you know good alternative to pet?

s3rgeym avatar Aug 23 '23 15:08 s3rgeym

@s3rgeym I don't use pet; intelli-shell is one alternative.

I'm writing my own right now, for the fun of it, because I want to integrate multiple source and I too want a full editor.

nkh avatar Aug 23 '23 16:08 nkh