Nvim added

This commit is contained in:
MangoPig 2025-12-04 14:44:49 +00:00
parent 10f55ec25c
commit afd6481ec6
4 changed files with 17 additions and 28 deletions

View File

@ -1,5 +1,7 @@
# .zsh_aliases # .zsh_aliases
alias mpset="make -C ~/Config/Dot-Zsh"
# Aliases # Aliases
alias c="clear" alias c="clear"

View File

@ -1,14 +1,11 @@
# Makefile for Dotfiles # Makefile for Dotfiles
# Tells Make that these targets are not actual files # Default target
.PHONY: all setup stow clean update docker-test test-ubuntu test-arch storagebox
# Default target (runs when you just type 'make')
all: stow all: stow
# Full Setup # Full Setup
setup: setup:
bash ./scripts/setup.sh bash ./scripts/base.sh
bash ./scripts/node.sh bash ./scripts/node.sh
bash ./scripts/go.sh bash ./scripts/go.sh
bash ./scripts/rust.sh bash ./scripts/rust.sh
@ -30,6 +27,9 @@ update:
git pull origin main git pull origin main
make setup make setup
base:
bash ./scripts/base.sh
# Language Setups # Language Setups
node: node:
bash ./scripts/node.sh bash ./scripts/node.sh
@ -43,7 +43,6 @@ rust:
python: python:
bash ./scripts/python.sh bash ./scripts/python.sh
# Setup StorageBox
storagebox: storagebox:
bash ./scripts/storagebox.sh bash ./scripts/storagebox.sh

BIN
bin/nvim Normal file

Binary file not shown.

View File

@ -8,6 +8,9 @@ GREEN='\033[1;32m'
RED='\033[1;31m' RED='\033[1;31m'
NC='\033[0m' NC='\033[0m'
DOTFILES_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO_ROOT="$(dirname "$DOTFILES_DIR")"
echo -e "${BLUE} LOG:${YELLOW} Initializing Base System Layer...${NC}" echo -e "${BLUE} LOG:${YELLOW} Initializing Base System Layer...${NC}"
# OS Detection # OS Detection
@ -36,32 +39,17 @@ PACKAGES=(
if [ "$OS" == "arch" ] || [ "$OS" == "manjaro" ]; then if [ "$OS" == "arch" ] || [ "$OS" == "manjaro" ]; then
# Arch has eza in the community repo # Arch has eza in the community repo
sudo pacman -Sy --noconfirm --needed "${PACKAGES[@]}" eza base-devel sudo pacman -Sy --noconfirm --needed "${PACKAGES[@]}" base-devel
elif [ "$OS" == "ubuntu" ] || [ "$OS" == "debian" ]; then elif [ "$OS" == "ubuntu" ] || [ "$OS" == "debian" ]; then
sudo DEBIAN_FRONTEND=noninteractive apt-get update sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${PACKAGES[@]}" bsdmainutils pkg-config cmake sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "${PACKAGES[@]}" bsdmainutils pkg-config cmake
fi
# ----------------------------------------------------------------- # Moving Pre-Built bin to /usr/local/bin
# EZA BINARY INSTALL (Ubuntu/Debian)
# -----------------------------------------------------------------
if ! command -v eza &> /dev/null; then
echo -e "${BLUE} LOG:${YELLOW} Fetching eza binary (skipping compilation)...${NC}"
# 1. Define Version (Check releases page for latest)
EZA_VER="v0.18.11"
EZA_URL="https://github.com/eza-community/eza/releases/download/${EZA_VER}/eza_x86_64-unknown-linux-gnu.tar.gz"
# 2. Download and Extract directly to a temp location
wget -qO- "$EZA_URL" | tar xz -C /tmp
# 3. Move to local bin (No sudo needed if ~/.local/bin is in PATH)
mkdir -p "$HOME/.local/bin" mkdir -p "$HOME/.local/bin"
mv /tmp/eza "$HOME/.local/bin/" cp -f "$REPO_ROOT/bin/"* "$HOME/.local/bin/"
chmod +x "$HOME/.local/bin/eza" chmod +x "$HOME/.local/bin/"*
echo -e "${GREEN} LOG: eza installed to ~/.local/bin${NC}"
fi
fi
# 3. Docker Installation # 3. Docker Installation
if command -v docker &> /dev/null; then if command -v docker &> /dev/null; then
echo -e "${GREEN} LOG: Docker is already installed.${NC}" echo -e "${GREEN} LOG: Docker is already installed.${NC}"