AutoYADM commit: 2025-05-16 21:26:08
This commit is contained in:
parent
6e81d4d99d
commit
52eda524a4
1 changed files with 20 additions and 0 deletions
|
@ -0,0 +1,20 @@
|
|||
declare-option -hidden str fishr_path %sh{ dirname "$kak_source" }
|
||||
|
||||
# provide-module fishr %~
|
||||
|
||||
define-command fish -params 1.. -docstring %{
|
||||
fish [<switches>] [args...] code: Execute provided Fish code
|
||||
Switches:
|
||||
-debug idk lol
|
||||
} %{
|
||||
evaluate-commands %sh{
|
||||
results=$(fish -c "$@")
|
||||
echo "echo $results"
|
||||
}
|
||||
# evaluate-commands %sh{
|
||||
# results=$(fish -c 'echo '"$@"'')
|
||||
# printf '%s\n' "echo -quoting shell $result"
|
||||
# }
|
||||
}
|
||||
|
||||
# ~
|
Loading…
Add table
Add a link
Reference in a new issue