amp code
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
ktlint
|
ktlint
|
||||||
croc
|
croc
|
||||||
opencode
|
opencode
|
||||||
|
amp-cli
|
||||||
|
|
||||||
# typst
|
# typst
|
||||||
typst
|
typst
|
||||||
|
|||||||
@@ -10,7 +10,12 @@
|
|||||||
[filechooser]
|
[filechooser]
|
||||||
cmd=${pkgs.writeShellScript "termfilechooser-yazi" ''
|
cmd=${pkgs.writeShellScript "termfilechooser-yazi" ''
|
||||||
output="$1"
|
output="$1"
|
||||||
exec kitty -T termfilechooser yazi --chooser-file="$output"
|
chooser=$(mktemp)
|
||||||
|
kitty -T termfilechooser yazi --chooser-file="$chooser"
|
||||||
|
if [ -s "$chooser" ]; then
|
||||||
|
cat "$chooser" > "$output"
|
||||||
|
fi
|
||||||
|
rm -f "$chooser"
|
||||||
''}
|
''}
|
||||||
default_dir=$HOME
|
default_dir=$HOME
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user