Compare commits
2 Commits
5a4cc71bb4
...
f65628a828
Author | SHA1 | Date |
---|---|---|
|
f65628a828 | |
|
003a0bca3e |
|
@ -3,6 +3,7 @@
|
|||
ZSH_DEBUG="${ZSH_DEBUG:-0}"
|
||||
|
||||
ZSH_ALIAS=${ZSH_ALIAS:-1}
|
||||
ZSH_CUSTOM=${ZSH_CUSTOM:-1}
|
||||
ZSH_DEFAULT_TERM=${ZSH_DEFAULT_TERM:-1}
|
||||
ZSH_GPG_PINENTRY_FIX=${ZSH_GPG_PINENTRY_FIX:-1}
|
||||
ZSH_POWERLINE="${ZSH_POWERLINE:-1}"
|
||||
|
@ -44,6 +45,18 @@ log() {
|
|||
fi
|
||||
}
|
||||
|
||||
# Bin directories
|
||||
section "python bin"
|
||||
if [ -d "$HOME/Library/Python/3.7" ]; then
|
||||
PATH="$HOME/Library/Python/3.7/bin:$PATH"
|
||||
export PATH
|
||||
fi
|
||||
if [ -d "$HOME/Library/Python/2.7" ]; then
|
||||
PATH="$HOME/Library/Python/2.7/bin:$PATH"
|
||||
export PATH
|
||||
fi
|
||||
section_end
|
||||
|
||||
# Powerline
|
||||
section "powerline"
|
||||
if [ $ZSH_POWERLINE -gt 0 ]; then
|
||||
|
@ -151,6 +164,19 @@ if [ $ZSH_PRINT_REBOOT_REQUIRED -gt 0 ]; then
|
|||
fi
|
||||
section_end
|
||||
|
||||
section "custom zshrc"
|
||||
if [ $ZSH_CUSTOM -gt 0 ]; then
|
||||
log "Checking if local profile code exists at ~/.local_zshrc..."
|
||||
if [ -f ~/.local_zshrc ]; then
|
||||
log "Exists, loading."
|
||||
# shellcheck source=/dev/null
|
||||
. ~/.local_zshrc
|
||||
else
|
||||
log "Does not exist, skipping."
|
||||
fi
|
||||
fi
|
||||
section_end
|
||||
|
||||
|
||||
# print env
|
||||
section "Environment variables"
|
||||
|
|
Loading…
Reference in New Issue