Skip to content

Instantly share code, notes, and snippets.

View bishwajitcadhikary's full-sized avatar
🐢

Bishwajit Adhikary bishwajitcadhikary

🐢
View GitHub Profile
#!/bin/bash
# Ensure the script is run with sudo
if [ "$(id -u)" != "0" ]; then
echo "This script must be run as root. Please run with sudo."
exit 1
fi
# Ask for the username
read -p "Enter your username for the systemd file: " username
@bishwajitcadhikary
bishwajitcadhikary / zsh_auto_install.sh
Created August 20, 2023 00:29
ZSH & Powerlevel10k Auto Installation
#!/bin/bash
# Function to install ZSH, Antigen ZSH, and Powerlevel10k
install() {
# Install ZSH
echo "Installing ZSH..."
case $PKG_MANAGER in
apt)
sudo apt update
sudo apt install -y zsh