refactor config

This commit is contained in:
Alexander Navarro 2023-02-13 01:53:52 -03:00
commit 4f0e213f4a
155 changed files with 13983 additions and 0 deletions

13
setup/zsh Executable file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
setup_zsh() {
backup "$HOME/.zshenv"
create "$HOME/.local/state/zsh/"
symlink "$DOTS/config/zsh/zshrc" "$HOME"/.zshrc
symlink "$DOTS/config/zsh/zprofile" "$HOME"/.zprofile
if [ "$SHELL" != "$(which zsh)" ]; then
chsh -s "$(which zsh)"
fi
}
setup_zsh