docs: cleanup

This commit is contained in:
iff 2025-04-22 15:38:16 +02:00
parent 7506af9147
commit 3eba91caf6
4 changed files with 52 additions and 19 deletions

View file

@ -1,25 +0,0 @@
command = "_PR_general"
[[match_err]]
pattern = [
"command not found",
"unknown command",
"nu::shell::external_command",
"is not recognized as a name of a cmdlet"
]
suggest = [
'''
{{select[0](path)}} {{command[1:]}} '''
]
[[match_err]]
pattern = [
"permission denied",
"is not an executable file"
]
suggest = [
'''
#[cmd_contains((?m)^(\S*)\/(\S*))]
chmod +x {{command[0]}} &&
{{command}}'''
]