Clean up bashrc: remove dead config, fix aliases, dedupe#13
Open
akan72 wants to merge 1 commit into
Open
Conversation
- Remove dead config bare-repo alias (symlink approach is used, not bare repo) - Remove 10 unused Mercurial (hg) aliases - Fix docker_rmi_dangling quoting (inner single quotes broke the alias) - Replace dead postgresql@14 PATH with version-agnostic $(brew --prefix postgresql@17)/bin - Remove dead sops PATH (~/Downloads/sops-3.7.2, no longer in Brewfile) - Remove hardcoded Python 3.11 framework PATH - Fix gdm/gdnm aliases: master -> main - Remove 'export TERM=xterm-256color' (let the terminal set terminfo) - Remove duplicate NVM init block (also in zshrc) - Remove duplicate cargo/env source (also in zshrc) - Remove EDITOR export (zshrc owns it with SSH-aware logic)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Branch 1 of the dotfiles cleanup. Removes dead config and fixes broken aliases in
bashrc.configbare-repo aliashg) aliasesdocker_rmi_danglingquoting (inner single quotes broke the alias)postgresql@14PATH with version-agnostic$(brew --prefix postgresql@17)/binsopsPATH (~/Downloads/sops-3.7.2)gdm/gdnmaliases:master→mainexport TERM='xterm-256color'EDITORexport (zshrc owns it with SSH-aware logic)Why & alternatives (from explanations.txt — Branch 1)
configbare-repo alias$HOMEif~/.cfg/ever exists.hg) aliasesdocker_rmi_danglingquotingpostgresql@14/14.6_1PATHpostgresql@17now — path doesn't exist on a fresh install.$(brew --prefix postgresql@17)/bin(chosen) to be version-agnostic, or drop entirely and rely onbrew link.~/Downloads/sops-3.7.2PATH/Library/Frameworks/Python.framework/...PATHgdm/gdnmaliasesmasterbut repos default tomain— broken in practice.git symbolic-ref.export TERM='xterm-256color'term = xterm-256colorin Ghostty's config if an override is needed (already done there).EDITORexportEDITOR=nvimunconditionally; zshrc conditionally setsvimover SSH — inconsistent.Part of the sequential shell chain: Branch 1 → Branch 2 → Branch 3. Merge this first.