feat: Initial bootstrap scripting
Currently only creating a symbolic link for x* configs
This commit is contained in:
parent
af4234464f
commit
f0098cbd82
4 changed files with 17 additions and 2 deletions
12
bootstrap
Executable file
12
bootstrap
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue