Major stow changes and cleanup
This commit is contained in:
+10
@@ -13,6 +13,15 @@ if ! command -v brew &> /dev/null; then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! command -v cargo &> /dev/null; then
|
||||
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..."
|
||||
@@ -26,6 +35,7 @@ stow .
|
||||
|
||||
cd ~/
|
||||
|
||||
|
||||
# Enable Touch ID for sudo
|
||||
if ! grep -q "pam_tid.so" /etc/pam.d/sudo; then
|
||||
echo "Enabling Touch ID for sudo..."
|
||||
|
||||
Reference in New Issue
Block a user