Create pet package: holds both config AND snippets for convenciance:)

This commit is contained in:
Sebastian Lenzlinger 2025-06-18 11:25:00 +02:00
parent c074cfa3e0
commit a4f2cff5f3
2 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,37 @@
[GHEGist]
Public = false
access_token = ""
auto_sync = false
base_url = ""
file_name = ""
gist_id = ""
upload_url = ""
[General]
Backend = "gist"
Cmd = []
Color = false
Column = 40
Editor = "sensible-editor"
Format = "[$description]: $command $tags"
SelectCmd = "fzf --ansi --layout=reverse --border --height=90% --pointer=* --cycle --prompt=Snippets:"
SnippetDirs = []
SnippetFile = "/home/seb/.config/pet/snippet.toml"
SortBy = ""
[Gist]
Public = false
access_token = ""
auto_sync = false
file_name = "pet-snippet.toml"
gist_id = ""
[GitLab]
ID = ""
Url = ""
Visibility = "private"
access_token = ""
auto_sync = false
file_name = "pet-snippet.toml"
skip_ssl = false

View File

@ -0,0 +1,6 @@
[[Snippets]]
Description = "Get root shell while preserving environment variables."
Output = ""
Tag = ["superuser", "bash", "sh", "envvar"]
command = "sudo -E --shell"