packages: text-editors: Simplify the plugin loader
parent
202a4aa188
commit
9c2da26373
|
@ -66,12 +66,9 @@
|
||||||
(copy-file
|
(copy-file
|
||||||
#$(plain-file "plugin-loader.kak" "\
|
#$(plain-file "plugin-loader.kak" "\
|
||||||
eval %sh{
|
eval %sh{
|
||||||
|
IFS=:
|
||||||
for dir in $GUIX_KAK_PLUGINS_PATH; do
|
for dir in $GUIX_KAK_PLUGINS_PATH; do
|
||||||
for plugin in $(ls $dir); do
|
printf 'source %s\n' $dir/*/*
|
||||||
for file in $(ls $dir/$plugin); do
|
|
||||||
echo source $dir/$plugin/$file
|
|
||||||
done
|
|
||||||
done
|
|
||||||
done
|
done
|
||||||
}")
|
}")
|
||||||
(string-append tools "/plugin-loader.kak"))))))
|
(string-append tools "/plugin-loader.kak"))))))
|
||||||
|
|
Loading…
Reference in New Issue