configs

configs
git clone https://git.prime8.dev/configs.git
Log | Files | Refs | README

commit e418590338acc8a4eda147f53af4befe5fa7f561
parent 772da0947f0ea242cd2b9a80d9b1c7fc91e00c73
Author: Damian Myrda <damian@prime8.dev>
Date:   Wed, 21 Jan 2026 13:09:30 -0600

remove macos support

Diffstat:
Mlink.sh | 2+-
Dprograms/._.DS_Store | 0
Mprograms/fish/config.fish | 50++++++++++++++++++++++++++------------------------
Msetup.sh | 28+++-------------------------
4 files changed, 30 insertions(+), 50 deletions(-)

diff --git a/link.sh b/link.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -set -e +set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROGRAMS_DIR="$SCRIPT_DIR/programs" diff --git a/programs/._.DS_Store b/programs/._.DS_Store Binary files differ. diff --git a/programs/fish/config.fish b/programs/fish/config.fish @@ -19,12 +19,12 @@ if status is-interactive set -U tide_character_vi_icon_default "→" # system - alias fetch pfetch - alias top btop + abbr fetch pfetch + abbr top btop # terminal - alias x exit - alias clr clear + abbr x exit + abbr clr clear # files zoxide init fish | source @@ -34,34 +34,36 @@ if status is-interactive command nvr --servername $NVIM -c "cd "(pwd) end end - alias cd zl - alias ls eza - alias la "eza -lA --git" - alias ll "eza -l --git" - alias cp "cp -rv" - alias mv "mv -v" - alias rm trash - alias cat bat + abbr cd zl + abbr ls eza + abbr la "eza -lA --git" + abbr ll "eza -l --git" + abbr cp "cp -rv" + abbr mv "mv -v" + abbr rm trash + abbr cat bat # programs - alias ed $EDITOR - alias code zed - alias web $BROWSER + abbr ed $EDITOR + abbr code zed + abbr web $BROWSER # git - alias dash "gh dash" - alias repo "gh repo" - alias issue "gh issue" - alias branch "git branch" - alias checkout "git checkout" - alias commit "git commit" - alias pr "gh pr" - alias release "gh release" + abbr dash "gh dash" + abbr repo "gh repo" + abbr issue "gh issue" + abbr branch "git branch" + abbr checkout "git checkout" + abbr commit "git commit" + abbr pr "gh pr" + abbr release "gh release" # nx set -gx NX_TUI false set -gx NX_PARALLEL "100%" # fnm - fnm env --use-on-cd --shell fish | source + if command -v fnm > /dev/null + fnm env --use-on-cd --shell fish | source + end end diff --git a/setup.sh b/setup.sh @@ -1,31 +1,8 @@ #!/usr/bin/env bash -set -e +set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -# Detect OS and run appropriate setup -if [[ "$OSTYPE" == "darwin"* ]]; then - echo "🔧 Starting macOS setup..." - - # Hostname - HOSTNAME="macbox" - echo "🖥️ Setting system hostname to '$HOSTNAME'..." - sudo scutil --set HostName "$HOSTNAME" && echo "✅ HostName set" - sudo scutil --set ComputerName "$HOSTNAME" && echo "✅ ComputerName set" - sudo scutil --set LocalHostName "$HOSTNAME" && echo "✅ LocalHostName set" - - # Dock - echo "📦 Configuring Dock preferences..." - defaults write com.apple.dock orientation -string "left" && echo "✅ Dock position set to bottom" - defaults write com.apple.dock autohide -bool true && echo "✅ Dock autohide enabled" - defaults write com.apple.dock autohide-delay -float 0 && echo "✅ Dock autohide delay set" - defaults write com.apple.dock no-bouncing -bool true && echo "✅ Dock bounce disabled" - killall Dock && echo "🔄 Dock restarted" - - # Windows - defaults write -g NSWindowShouldDragOnGesture -bool true && echo "✅ Window drag by gesture enabled" -fi - # Homebrew echo "🍺 Installing Homebrew packages with Brewfile..." if ! command -v brew >/dev/null 2>&1; then @@ -34,9 +11,10 @@ if ! command -v brew >/dev/null 2>&1; then fi brew update && echo "✅ Homebrew updated" brew upgrade && echo "✅ Homebrew upgraded" -BREWFILE_PATH="./Brewfile" +BREWFILE_PATH="${SCRIPT_DIR}/Brewfile" if [ -f "$BREWFILE_PATH" ]; then brew bundle --file="$BREWFILE_PATH" && echo "✅ Brewfile installed successfully" + brew bundle check --file="$BREWFILE_PATH" && echo "✅ Brewfile verification passed" || echo "⚠️ Brewfile verification issues" else echo "❌ Brewfile not found at $BREWFILE_PATH" exit 1