-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
283 additions
and
470 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
# -- .zprofile: set the environment for login shells. | ||
# ~/.zprofile: Set environment variables and PATH for login shells. | ||
|
||
# Homebrew | ||
# Homebrew: Ensure Homebrew's binaries are in PATH | ||
eval "$(/opt/homebrew/bin/brew shellenv)" | ||
|
||
# Python Development | ||
# Python Development Setup | ||
export PYENV_ROOT="$HOME/.pyenv" | ||
export POETRY_HOME="$HOME/.poetry" | ||
[[ -d "$PYENV_ROOT/bin" ]] && export PATH="$PYENV_ROOT/bin:$PATH" | ||
[[ -d "$POETRY_HOME/bin" ]] && export PATH="$POETRY_HOME/bin:$PATH" | ||
eval "$(pyenv init --path)" | ||
|
||
# Local binaries | ||
# Add Homebrew, pyenv, and Poetry to PATH if their directories exist | ||
if [[ -d "$PYENV_ROOT/bin" ]]; then | ||
export PATH="$PYENV_ROOT/bin:$PATH" | ||
fi | ||
|
||
if [[ -d "$POETRY_HOME/bin" ]]; then | ||
export PATH="$POETRY_HOME/bin:$PATH" | ||
fi | ||
|
||
# Add Homebrew's bin directory to PATH | ||
export PATH="/opt/homebrew/bin:$PATH" | ||
|
||
# Local binaries: Add ~/.local/bin to PATH | ||
export PATH="$PATH:$HOME/.local/bin" | ||
|
||
# XDG Base Directory Specification | ||
export XDG_CONFIG_HOME="$HOME/.config" | ||
export XDG_CACHE_HOME="$HOME/.cache" | ||
export XDG_DATA_HOME="$HOME/.local/share" | ||
|
||
# Development directories | ||
# export PROJECTS_DIR="$HOME/Documents/GitHub" | ||
# export DOTS_DIR="$PROJECTS_DIR/dots" | ||
# Initialize pyenv for login shells | ||
if command -v pyenv >/dev/null 2>&1; then | ||
eval "$(pyenv init --path)" | ||
fi |
Oops, something went wrong.