Files
dotfiles/run_onchange_after_install-yazi-plugins.sh.tmpl
T

7 lines
286 B
Cheetah
Raw Normal View History

#!/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