intelli-shell
intelli-shell copied to clipboard
Pet 2 Intelli-Shell Converter
~
❯ 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
I also had to search for where the commands are stored
tealdeer has a nice se of option you may want to emulate
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 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.