mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-02 22:48:14 +00:00
feat(scripts): have is now x-have script
This commit is contained in:
@@ -11,7 +11,7 @@ NEOFETCH_URL="${NEOFETCH_REPO}/archive/refs/tags/${NEOFETCH_VERSION}.tar.gz"
|
||||
NEOFETCH_TEMP="/tmp/neofetch"
|
||||
NEOFETCH_INSTALL_PREFIX="$HOME/.local"
|
||||
|
||||
have neofetch || {
|
||||
[[ $(x-have "neofetch") == "1" ]] && {
|
||||
LC_ALL=C
|
||||
|
||||
mkdir -p "$NEOFETCH_TEMP" "$NEOFETCH_INSTALL_PREFIX"
|
||||
|
||||
Reference in New Issue
Block a user