Skip to content

Commit cb3c99c

Browse files
committed
fixes
1 parent ed3698e commit cb3c99c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Configs/.config/zsh/conf.d/hyde/terminal.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ function _dedup_zsh_plugins {
2929
unset -f _dedup_zsh_plugins
3030
# Oh-my-zsh installation path
3131
zsh_paths=(
32-
"$HOME/.oh-my-zsh"
33-
"/usr/local/share/oh-my-zsh"
3432
"/usr/share/oh-my-zsh"
33+
"/usr/local/share/oh-my-zsh"
34+
"$HOME/.oh-my-zsh"
3535
)
3636
for zsh_path in "${zsh_paths[@]}"; do [[ -d $zsh_path ]] && export ZSH=$zsh_path && break; done
3737
# Load Plugins

Scripts/global_fn.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ confDir="${XDG_CONFIG_HOME:-$HOME/.config}"
1313
cacheDir="${XDG_CACHE_HOME:-$HOME/.cache}/hyde"
1414
aurList=("yay" "paru")
1515
shlList=("zsh" "fish")
16+
pacmanCmd=${cloneDir}/Configs/.local/lib/hyde/pm.sh
1617

1718
export cloneDir
1819
export confDir
@@ -48,7 +49,7 @@ chk_list() {
4849
pkg_available() {
4950
local PkgIn=$1
5051

51-
if pacman -Si "${PkgIn}" &>/dev/null; then
52+
if ${pacmanCmd} query "${PkgIn}" &>/dev/null; then
5253
return 0
5354
else
5455
return 1
@@ -59,7 +60,7 @@ aur_available() {
5960
local PkgIn=$1
6061

6162
# shellcheck disable=SC2154
62-
if ${aurhlpr} -Si "${PkgIn}" &>/dev/null; then
63+
if ${pacmanCmd} info "${PkgIn}" &>/dev/null; then
6364
return 0
6465
else
6566
return 1

0 commit comments

Comments
 (0)