update dotfiles
This commit is contained in:
parent
a307370a15
commit
f2bf7ea423
5 changed files with 8 additions and 4 deletions
|
@ -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
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
alacritty
|
alacritty
|
||||||
|
sway
|
||||||
|
|
|
@ -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=""
|
|
@ -1,2 +1,3 @@
|
||||||
|
curl
|
||||||
vim
|
vim
|
||||||
zsh
|
zsh
|
||||||
|
|
2
sync.sh
2
sync.sh
|
@ -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."
|
||||||
|
|
Loading…
Reference in a new issue