update dotfiles

This commit is contained in:
Didier Slof 2022-12-18 21:51:53 +01:00
parent a307370a15
commit f2bf7ea423
Signed by: didier
GPG key ID: 01E71F18AA4398E5
5 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,5 @@
^. ./sync.conf && $PM_COMMAND $PM_UPGRADE ^. ./sync.conf && $PM_COMMAND $PM_UPGRADE
^[ -d /tmp/yay ] && rm -rf /tmp/yay ^[ -d /tmp/yay ] && rm -rf /tmp/yay
git clone https://aur.archlinux.org/yay /tmp/yay git clone https://aur.archlinux.org/yay /tmp/yay
cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended

View file

@ -1 +1,2 @@
alacritty alacritty
sway

View file

@ -22,4 +22,6 @@ run() {
is_graphical() { is_graphical() {
command -v $PREF_TERM && return 0 || return 1 command -v $PREF_TERM && return 0 || return 1
} }
command -v $SYS_SUDO || $SYS_SUDO=""

View file

@ -1,2 +1,3 @@
curl
vim vim
zsh zsh

View file

@ -59,5 +59,5 @@ main() {
} }
echo "# exec: start." echo "# exec: start."
[ bool ${TIME_TRACK:-no} ] && time main "$@" || main "$@" bool ${TIME_TRACK:-no} && time main "$@" || main "$@"
echo "# exec: done." echo "# exec: done."