Completed BOOTSTRAP; Updated tmux, nvim, & zsh

This commit is contained in:
mattr
2024-10-03 16:55:56 -05:00
parent 922fdb0cba
commit be7791c641
5 changed files with 91 additions and 51 deletions

47
BOOTSTRAP.sh Normal file → Executable file
View File

@@ -0,0 +1,47 @@
#!/bin/bash
CONFIGDIR=$HOME/.config
#############################
# zsh
#############################
ZSHFILE="$HOME/.zshrc"
if [ -f "$ZSHFILE" ] || [ -d "$ZSHFILE" ]; then
mv "$ZSHFILE" "$ZSHFILE.old"
fi
ln -s "$PWD/zsh/.zshrc" "$ZSHFILE"
#############################
# kitty
#############################
KITTYDIR="$CONFIGDIR/kitty"
if [ -f "$KITTYDIR" ] || [ -d "$KITTYDIR" ]; then
mv "$KITTYDIR" "$KITTYDIR.old"
fi
ln -s "$PWD/kitty/" "$KITTYDIR"
#############################
# neovim
#############################
NEOVIMFILE="$CONFIGDIR/nvim"
if [ -f "$NEOVIMFILE" ] || [ -d "$NEOVIMFILE" ]; then
mv "$NEOVIMFILE" "$NEOVIMFILE.old"
fi
ln -s "$PWD/nvim/" "$NEOVIMFILE"
#############################
# tmux
#############################
TMUXFILE="$CONFIGDIR/tmux"
if [ -f "$TMUXFILE" ] || [ -d "$TMUXFILE" ]; then
mv "$TMUXFILE" "$TMUXFILE.old"
fi
ln -s "$PWD/tmux/" "$TMUXFILE"