move $path definition from apply-color* scripts to helper script
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
path=$(dirname "$(readlink -f "$0")")
|
||||
[ -f "$HOME/.local/snippets/apply-color-helper" ] || {
|
||||
echo "Missing helper script: $HOME/.local/snippets/apply-color-helper"
|
||||
exit 1
|
||||
@@ -13,4 +12,3 @@ cp -f "$path"/../../../../assets/yazi-themes/catppuccin-mocha-"$colorName".toml
|
||||
}
|
||||
|
||||
log_success "yazi"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user