1
0

Merge feature/stow-restructure into main - complete dotfiles restructure with stow organization

This commit is contained in:
2025-08-04 22:03:03 -05:00
9 changed files with 52 additions and 5 deletions

13
packages/base.txt Normal file
View File

@@ -0,0 +1,13 @@
# Base packages - MUST HAVE
# Core system utilities
curl
wget
git
stow
vim
nano
bash-completion
tree
htop
unzip
zip

11
packages/cli-tools.txt Normal file
View File

@@ -0,0 +1,11 @@
# CLI Tools - Nice-to-haves
# Enhanced command line tools
bat
fd-find
ripgrep
fzf
tmux
screen
jq
ncdu
exa

15
packages/dev.txt Normal file
View File

@@ -0,0 +1,15 @@
# Development Tools
# Programming languages and tools
nodejs
npm
python3
python3-pip
docker
docker-compose
build-essential
make
gcc
g++
golang-go
rust
cargo

10
packages/gui.txt Normal file
View File

@@ -0,0 +1,10 @@
# GUI Applications
# Desktop applications (for systems with GUI)
firefox
code
vlc
gimp
thunderbird
libreoffice
chromium-browser
terminator

View File

@@ -25,14 +25,12 @@ if [ -d "$DOTFILES_DIR/scripts" ]; then
# Look for numbered scripts and run them in order
script_count=0
for script in "$DOTFILES_DIR/scripts"/[0-9][0-9]-*.sh; do
for script in "$DOTFILES_DIR"/scripts/[0-9][0-9]-*.sh; do
if [ -f "$script" ]; then
# Make executable and run
chmod +x "$script" 2>/dev/null || true
script_name=$(basename "$script")
log_info "Running $script_name..."
if "$script" "$DOTFILES_DIR"; then
if bash "$script" "$DOTFILES_DIR"; then
log_success "$script_name completed"
else
log_error "$script_name failed"

View File

@@ -7,7 +7,7 @@ alias h='history'
alias grep='grep --color=auto'
alias d='docker'
alias dc='docker compose'
alias dotpull='echo "🔄 Updating dotfiles..." && git -C ~/.dotfiles pull && echo "🔗 Re-stowing dotfiles..." && (cd ~/.dotfiles && stow --adopt -t ~ . 2>/dev/null || stow -t ~ .) && echo "✅ Done."'
alias dotpull='echo "🔄 Updating dotfiles..." && git -C ~/.dotfiles pull && echo "🔗 Re-stowing dotfiles..." && (cd ~/.dotfiles/stow && for dir in */; do if [ -d "$dir" ]; then echo " Stowing $dir..." && stow -R -t ~ "$dir" || echo " ⚠️ Failed to stow $dir"; fi; done) && echo "✅ Done."'
alias reloadbash='source ~/.bashrc && echo "Bash config reloaded."'