mirror of
https://github.com/prdlk/dotfiles.git
synced 2026-11-02 11:32:42 +00:00
7 lines
286 B
Cheetah
7 lines
286 B
Cheetah
#!/bin/sh
|
|||
|
|
# Reinstall yazi plugins from the manifest whenever it changes.
|
||
|
|
# package.toml hash: {{ include "dot_config/yazi/package.toml" | sha256sum }}
|
||
|
|
set -eu
|
||
|
|
command -v ya >/dev/null 2>&1 || exit 0
|
||
|
|
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/yazi/package.toml" ] || exit 0
|
||
|
|
ya pkg install
|