Skip to content

Commit 08fe8e3

Browse files
vintaclaude
andcommitted
Reorganize .zshrc configuration sections
Move 'User configuration' comment to immediately after oh-my-zsh source to better delineate custom configurations. Relocate PATH export to end of file near other profile sources for logical grouping. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent ccbb1f6 commit 08fe8e3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dotfiles/.zshrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
8282

8383
source $ZSH/oh-my-zsh.sh
8484

85+
# User configuration
86+
8587
k8s_prompt_info() {
8688
local context=$(kubectl config current-context 2>/dev/null)
8789
if [[ -n "$context" ]]; then
@@ -101,17 +103,13 @@ PROMPT+='$(k8s_prompt_info)' # Must use single quote
101103
PROMPT+='$(git_prompt_info)' # Must use single quote
102104
PROMPT+=' ' # Must use single quote
103105

104-
# User configuration
105-
106106
# export MANPATH="/usr/local/man:$MANPATH"
107107

108108
# You may need to manually set your language environment
109109
export LANG=en_US.UTF-8
110110
export LC_ALL=en_US.UTF-8
111111
export LC_CTYPE=en_US.UTF-8
112112

113-
export PATH="$HOME/.local/bin:$PATH"
114-
115113
# Preferred editor for local and remote sessions
116114
# if [[ -n $SSH_CONNECTION ]]; then
117115
# export EDITOR='vim'
@@ -136,6 +134,8 @@ alias ll="ls -lA"
136134
export HOMEBREW_NO_ANALYTICS=1
137135
export HOMEBREW_NO_INSECURE_REDIRECT=1
138136

137+
export PATH="$HOME/.local/bin:$PATH"
138+
139139
source /usr/local/hal-9000/playbooks/roles/basic/files/hal_profile.sh
140140
source /usr/local/hal-9000/playbooks/roles/python/files/py_profile.sh
141141
source /usr/local/hal-9000/playbooks/roles/node/files/node_profile.sh

0 commit comments

Comments
 (0)