use scwrypts properly

This commit is contained in:
Wryn (yage) Wagner 2023-11-11 15:22:27 -07:00
parent 7839d32a58
commit ca56c1e873
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ OS__INSTALL_SOURCE_DEPENDENCIES() {
case $OS_NAME in
arch )
command -v yay >/dev/null 2>&1 \
|| SCWRYPTS packages/install 'https://aur.archlinux.org/yay.git' --local-name 'yay' \
|| SCWRYPTS packages/install -- 'https://aur.archlinux.org/yay.git' --local-name 'yay' \
;
;;
debian ) ;;
@ -44,7 +44,7 @@ OS__INSTALL_SOURCE_DEPENDENCIES() {
esac
[ $COMPILE_DMENU ] && [[ $COMPILE_DMENU -eq 1 ]] \
&& SCWRYPTS packages/install 'https://github.com/tiyn/dmenu' --local-name 'patched-dmenu'
&& SCWRYPTS packages/install -- 'https://github.com/tiyn/dmenu' --local-name 'patched-dmenu'
return 0
}

View File

@ -25,7 +25,7 @@ SCWRYPTS() {
CI=1 \
CONFIG__USER_SETTINGS="$DOTWRYN_PATH/config/scwrypts/dotfiles.zsh" \
DOTWRYN=$DOTWRYN_PATH \
"$DOTWRYN_PATH/zsh/plugins/scwrypts/scwrypts" -n $1 -- ${@:2}
"$DOTWRYN_PATH/zsh/plugins/scwrypts/scwrypts" -n $@
}
#####################################################################