diff --git a/command.list b/command.list index a67257b..308817f 100644 --- a/command.list +++ b/command.list @@ -1,5 +1,5 @@ ^. ./sync.conf && $PM_COMMAND $PM_UPGRADE ^[ -d /tmp/yay ] && rm -rf /tmp/yay - git clone https://aur.archlinux.org/yay /tmp/yay -cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM \ No newline at end of file +cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended diff --git a/gpackage.list b/gpackage.list index 7997ddc..db10bfa 100644 --- a/gpackage.list +++ b/gpackage.list @@ -1 +1,2 @@ alacritty +sway diff --git a/lib/lib.sh b/lib/lib.sh index b703116..1798188 100644 --- a/lib/lib.sh +++ b/lib/lib.sh @@ -22,4 +22,6 @@ run() { is_graphical() { command -v $PREF_TERM && return 0 || return 1 -} \ No newline at end of file +} + +command -v $SYS_SUDO || $SYS_SUDO="" \ No newline at end of file diff --git a/package.list b/package.list index 6eee86b..bbecb9e 100644 --- a/package.list +++ b/package.list @@ -1,2 +1,3 @@ +curl vim zsh diff --git a/sync.sh b/sync.sh index cff0c17..69ed6ae 100755 --- a/sync.sh +++ b/sync.sh @@ -59,5 +59,5 @@ main() { } echo "# exec: start." -[ bool ${TIME_TRACK:-no} ] && time main "$@" || main "$@" +bool ${TIME_TRACK:-no} && time main "$@" || main "$@" echo "# exec: done."