first commit

This commit is contained in:
Javier Pacheco 2023-05-19 04:02:26 -05:00
commit bd9090d294
1 changed files with 12 additions and 0 deletions

12
dotfiles.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
dotfiles () {
doas -u javier git clone https://git.disroot.org/jpacheco/voidots $HOME/.dotfiles --depth 1 && \
doas -u javier ln -sf .dotfiles/home/.config $HOME/.config
doas -u javier ln -sf .dotfiles/home/.local $HOME/.local
doas -u javier ln -sf .config/shell/profile .$HOME/zprofile
doas -u javier ln -sf .config/x11/xprofile $HOME/.xprofile
}
dotfiles && echo "symlinks of dotfiles are now created" || echo "Check your internet conection!!!"