dotfiles/bootstrap
Ahmad Ansori Palembani f0098cbd82
feat: Initial bootstrap scripting
Currently only creating a symbolic link for x* configs
2024-05-20 09:38:35 +07:00

12 lines
332 B
Bash
Executable file

#!/bin/zsh
[ $ZI_DOTFILES ] || { >&2 echo "Please run pre-bootstrap first!"; exit 1; }
[ -d $ZI_DOTFILES ] || { >&2 echo "Invalid dotfiles path, please re-run pre-bootstrap!"; exit 1; }
link_x_configs() {
ln -si $ZI_DOTFILES/.config/xinitrc $HOME/.xinitrc
ln -si $ZI_DOTFILES/.config/xprofile $HOME/.xprofile
}
link_x_configs