Skip to content

Commit

Permalink
Install ya util with yazi
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartFinn committed Dec 23, 2024
1 parent cff5b33 commit dcd208f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/yazi@x86_64
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,28 @@ app_install() {
app_remove

install -vD -m755 "$APP_NAME" "$SDD_BIN_DIR/$APP_NAME" >&2
install -vD -m755 "ya" "$SDD_BIN_DIR/ya" >&2

# Install bash completion
install -vD -m644 "completions/$APP_NAME.bash" \
"$SDD_BASH_COMPLETION_DIR/$APP_NAME" >&2
install -vD -m644 "completions/ya.bash" \
"$SDD_BASH_COMPLETION_DIR/ya" >&2

# Install zsh completion
install -vD -m644 "completions/_$APP_NAME" \
"$SDD_ZSH_COMPLETION_DIR/_$APP_NAME" >&2
install -vD -m644 "completions/_ya" \
"$SDD_ZSH_COMPLETION_DIR/_ya" >&2
}

app_remove() {
rm -vf "$SDD_BIN_DIR/$APP_NAME" >&2
rm -vf "$SDD_BIN_DIR/ya" >&2
rm -vf "$SDD_BASH_COMPLETION_DIR/$APP_NAME" >&2
rm -vf "$SDD_BASH_COMPLETION_DIR/ya" >&2
rm -vf "$SDD_ZSH_COMPLETION_DIR/_$APP_NAME" >&2
rm -vf "$SDD_ZSH_COMPLETION_DIR/_ya" >&2
}

app_version() {
Expand Down

0 comments on commit dcd208f

Please sign in to comment.