mirror of
https://github.com/mqttr/dotfiles.git
synced 2025-12-15 04:25:50 -06:00
Completed BOOTSTRAP; Updated tmux, nvim, & zsh
This commit is contained in:
47
BOOTSTRAP.sh
Normal file → Executable file
47
BOOTSTRAP.sh
Normal file → Executable 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"
|
||||
|
||||
Reference in New Issue
Block a user