feat(scripts): have is now x-have script

This commit is contained in:
2023-09-29 14:51:20 +03:00
parent 3d753fe08c
commit 56ae0e1e1c
13 changed files with 23 additions and 13 deletions

View File

@@ -8,7 +8,7 @@ source "$HOME/.dotfiles/scripts/shared.sh"
msg_run "Installing git-crypt"
! have git-crypt && {
[[ $(x-have "git-crypt") == "1" ]] && {
REPO_URL="https://github.com/AGWA/git-crypt.git"
CHECK_PATH="${XDG_BIN_HOME}/git-crypt"