aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/common/.profile
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-02 12:16:38 -0500
committerCraig Jennings <c@cjennings.net>2026-06-02 12:16:38 -0500
commitb10cba594db836c0747066addad48bda4d30cd02 (patch)
tree063119a623fa3f7139feda4ef302896d8f5f934c /dotfiles/common/.profile
parent49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd (diff)
downloadarchsetup-b10cba594db836c0747066addad48bda4d30cd02.tar.gz
archsetup-b10cba594db836c0747066addad48bda4d30cd02.zip
refactor: drop in-repo dotfiles/, move stow tooling to the dotfiles repo
Since the installer clones DOTFILES_REPO into ~/.dotfiles and stows from there, the in-repo dotfiles/ tree was dead weight. Nothing reads it at install time. I removed it (831 files) now that both machines are migrated. The Makefile's stow / restow / reset / unstow / import targets and the dotfile-script unit suites moved to the dotfiles repo. They sit alongside the scripts they manage and run standalone (cd ~/.dotfiles && make ...). This Makefile keeps the VM-integration targets and the installer-helper suite (safe-rm-rf). I updated CLAUDE.md and README.md so stow operations run from ~/.dotfiles, and the dotfile-management, theme, and unit-test sections point at the standalone repo. The README was already describing the old in-repo model from before the installer switched to cloning. This brings it in line.
Diffstat (limited to 'dotfiles/common/.profile')
-rw-r--r--dotfiles/common/.profile82
1 files changed, 0 insertions, 82 deletions
diff --git a/dotfiles/common/.profile b/dotfiles/common/.profile
deleted file mode 100644
index 119fc7d..0000000
--- a/dotfiles/common/.profile
+++ /dev/null
@@ -1,82 +0,0 @@
-# .profile
-# Craig Jennings <c@cjennings.net>
-#
-# Environment variables only. POSIX sh compatible.
-# Sourced by login shells. Aliases and functions go in .bashrc/.zshrc.
-
-# Tramp compatibility - simplify prompt for Emacs remote editing
-if [ "$TERM" = "tramp" ] || [ "$TERM" = "dumb" ]; then
- PS1='$ '
- return 0 2>/dev/null || exit 0
-fi
-
-# =============================================================================
-# Locale
-# =============================================================================
-export LANG=en_US.UTF-8
-export LANGUAGE=en_US.UTF-8
-export LC_CTYPE=en_US.UTF-8
-export LC_ALL=en_US.UTF-8
-
-# =============================================================================
-# Path
-# =============================================================================
-[ -d "$HOME/.local/share/gem/ruby/3.4.0/bin" ] && PATH="$PATH:$HOME/.local/share/gem/ruby/3.4.0/bin"
-[ -d "$HOME/.cargo/bin" ] && PATH="$PATH:$HOME/.cargo/bin"
-[ -d "$HOME/.deno/bin" ] && PATH="$PATH:$HOME/.deno/bin"
-[ -d "$HOME/.cask/bin" ] && PATH="$PATH:$HOME/.cask/bin"
-export PATH="$HOME/.local/bin:$PATH:/usr/sbin"
-
-# =============================================================================
-# Default Applications
-# =============================================================================
-export ALTERNATE_EDITOR=""
-export EDITOR="emacsclient -c -a ''"
-export VISUAL="emacsclient -c -a ''"
-export SUDO_EDITOR="vi"
-export BROWSER="firefox"
-export ALTBROWSER="google-chrome-stable"
-
-# =============================================================================
-# Terminal (X11 defaults - overridden by hyprland.sh for Wayland)
-# =============================================================================
-export COLORTERM=truecolor
-export TERM="st-256color"
-export TERMINAL="st"
-
-# =============================================================================
-# XDG Base Directories
-# =============================================================================
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share:/usr/share}:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share"
-
-# XDG_RUNTIME_DIR fallback (usually set by systemd/pam)
-if [ -z "$XDG_RUNTIME_DIR" ]; then
- export XDG_RUNTIME_DIR="$HOME/.local/xdg/runtime"
- mkdir -p "$XDG_RUNTIME_DIR"
- chmod 0700 "$XDG_RUNTIME_DIR"
-fi
-
-# Desktop defaults (X11 - overridden by hyprland.sh for Wayland)
-export XDG_CURRENT_DESKTOP=dwm
-export XDG_SESSION_TYPE=x11
-
-# =============================================================================
-# GPG
-# =============================================================================
-export GPG_TTY="$(tty)"
-
-# =============================================================================
-# Emacs Info Path
-# =============================================================================
-export INFOPATH="$HOME/.config/emacs/info:/usr/share/info:/usr/local/share/info"
-
-# =============================================================================
-# Source modular environment files from .profile.d/
-# =============================================================================
-if [ -d "$HOME/.profile.d" ]; then
- for file in "$HOME/.profile.d"/*.sh; do
- [ -r "$file" ] && . "$file"
- done
- unset file
-fi