chore(starship, nvim, tmux): removing starship, navigation between tmux and nvim, updated environment configs and scripts

This commit is contained in:
DarthMooMancer committed 2026-11-05 14:15:22 -05:00
1 parent c9b2a67939
commit 89d37946cf
19 files changed
+354 -405

No files matched your search

+6 -15
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env bask
sudo -v
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
#/usr/bin/env bash
if ! command -v brew &> /dev/null; then
echo "Installing Homebrew..."
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@@ -17,29 +18,19 @@ fi
# echo "Installing Cargo"
# curl https://sh.rustup.rs -sSf | sh
# fi
if ! command -v zinit &> /dev/null; then
echo "Installing zinit"
bash -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
fi
DOTFILES_DIR="$HOME/dotfiles"
if [ ! -d "$DOTFILES_DIR" ]; then
echo "Cloning dotfiles..."
git clone https://git@moo:dmm/dotfiles.git
git clone https://git.moomancer.xyz/DarthMooMancer/dotfiles.git
fi
cd "$DOTFILES_DIR"
brew bundle --file=.Brewfile
brew bundle --file=brew/.Brewfile
stow .
stow -v -t "$HOME"
cd ~/
TPM_DIR="$HOME/.config/tmux/plugins/tpm/"
if [ ! -d "$TPM_DIR" ]; then
echo "Cloning tpm..."
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
fi
#
# Enable Touch ID for sudo
if ! grep -q "pam_tid.so" /etc/pam.d/sudo; then
echo "Enabling Touch ID for sudo..."