refactor config
This commit is contained in:
commit
4f0e213f4a
155 changed files with 13983 additions and 0 deletions
13
setup/zsh
Executable file
13
setup/zsh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue