Skip to content

Commit b6ff221

Browse files
Remove 'PATH UPDATE' section from post-checkout
1 parent 4efb752 commit b6ff221

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

post-checkout

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -153,21 +153,4 @@ else
153153
exit 1
154154
fi
155155

156-
# =============================================================================
157-
# PATH UPDATE
158-
# =============================================================================
159-
160-
# Source the shell hook to update PATH for the new tools
161-
SHELL_HOOK_PATH="$HOME/$TOOL_FOLDER/shell_hook.sh"
162-
163-
if [ -f "$SHELL_HOOK_PATH" ]; then
164-
# Note: In a git hook, we can't directly update the parent shell's PATH.
165-
# The PATH will be updated when the user's next prompt is displayed
166-
# (handled by the shell hook's precmd/PROMPT_COMMAND integration).
167-
log_info "Tools installed. PATH will update on next prompt."
168-
else
169-
SHELL_RC=$(get_shell_rc_file)
170-
log_info "To update PATH, run: source $SHELL_RC"
171-
fi
172-
173156
exit 0

0 commit comments

Comments
 (0)