Skip to content

Instantly share code, notes, and snippets.

View fqdeng's full-sized avatar
🎯
Focusing

fqdeng fqdeng

🎯
Focusing
View GitHub Profile
#!/bin/bash
export ZSH_CUSTOM=$HOME/.oh-my-zsh
# Check if Git is installed
if ! command -v git &> /dev/null; then
echo "Git is not installed. Installing Git..."
# Install Git (You may need to adjust this based on your package manager)
sudo apt-get install git # For Debian/Ubuntu
# or