Skip to content

shivamkedia17/dotfiles-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server dotfiles

A basic set of config files so that I don't have to painfuly setup a new server each time.

  • Default Shell
  • ZSH
  • Neovim

Run the below for setup:

GIT_REPO_URL="https://github.com/shivamkedia17/dotfiles-server.git"

if [ ! -d "$HOME/.config" ]; then
    echo "The ~/.config directory does not exist. Creating it now..."
    mkdir -p "$HOME/.config"
    if [ $? -ne 0 ]; then
        echo "Error: Failed to create ~/.config directory. Check permissions."
        exit 1
    fi
    echo "~/.config directory created successfully."
fi

git -C "$HOME/.config" clone --recurse-submodules "$GIT_REPO_URL" || {
    echo "Error: Failed to clone the repository. Please check the URL and your network connection."
    exit 1
}

chmod +x .config/setup.sh
sudo sh .config/setup.sh

About

Sensible default setup for linux headless machines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors