-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_profile
More file actions
66 lines (50 loc) · 2.32 KB
/
.bash_profile
File metadata and controls
66 lines (50 loc) · 2.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Suppress bash deprecation warning on macOS
export BASH_SILENCE_DEPRECATION_WARNING=1
# Source bashrc if it exists
[[ -s ~/.bashrc ]] && source ~/.bashrc
# =============================================================================
# PATH Configuration
# =============================================================================
# Start with system paths
export PATH="/usr/local/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/bin:/bin:/usr/sbin:/sbin"
# Add Homebrew paths
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:$PATH"
# ASDF (disabled - using mise instead)
# export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
# mise-en-place for version management (replaces asdf + nodenv)
eval "$(mise activate bash)"
# Add local bin directory (this was your issue - needs to be expanded)
export PATH="$HOME/.local/bin:$PATH"
# Add custom Ruby on Mac directory
export PATH="$HOME/rubyonmac:$PATH"
# =============================================================================
# Development Tools
# =============================================================================
# nodenv (disabled - using mise instead)
# eval "$(nodenv init -)"
# nodenv global 20.18.1
# =============================================================================
# Git Configuration
# =============================================================================
# Git autocomplete
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion || {
# if not found in /usr/local/etc, try the brew --prefix location
[ -f "$(brew --prefix)/etc/bash_completion.d/git-completion.bash" ] && \
. $(brew --prefix)/etc/bash_completion.d/git-completion.bash
}
# =============================================================================
# Fuzzy Finder (fzf)
# =============================================================================
# Set up fzf key bindings and fuzzy completion
eval "$(fzf --bash)"
# =============================================================================
# GPG Configuration
# =============================================================================
# GPG Signing Key user agent setup
export GPG_TTY=$(tty)
[ -f ~/.gnupg/gpg-agent-info ] && source ~/.gnupg/gpg-agent-info
if [ -S "${GPG_AGENT_INFO%%:*}" ]; then
export GPG_AGENT_INFO
else
eval $( gpg-agent --daemon --options ~/.gnupg/gpg-agent.conf )
fi