-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
95cf3a8
commit ed47f2c
Showing
6 changed files
with
54 additions
and
8 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,6 +4,14 @@ export PATH="/Users/mikekreeki/.dotfiles/bin:$PATH" | |
# HOMEBREW | ||
export PATH="/usr/local/bin:$PATH" | ||
|
||
# OPENSSL | ||
export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH" # have [email protected] first in your PATH | ||
|
||
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" # For compilers to find [email protected] | ||
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" # For compilers to find [email protected] | ||
|
||
export PKG_CONFIG_PATH="/opt/homebrew/opt/[email protected]/lib/pkgconfig" # For pkg-config to find [email protected] | ||
|
||
# RVM | ||
export PATH="$HOME/.rvm/bin:$PATH" | ||
|
||
|
@@ -31,8 +39,7 @@ export NVIM_TUI_ENABLE_TRUE_COLOR=1 | |
export NVIM_TUI_ENABLE_CURSOR_SHAPE=1 | ||
|
||
# Java/JRUBY | ||
export JAVA_OPTS="-XX:-UseConcMarkSweepGC" | ||
export JRUBY_OPTS="-J-Xmx4g" | ||
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home | ||
|
||
# notwaldorf/tiny-care-terminal | ||
export TTC_WEATHER='Prague' | ||
|
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This shell function will install (if needed) and nvm use the specified Node version | ||
# when an .nvmrc is found, and nvm use default otherwise. | ||
autoload -U add-zsh-hook | ||
|
||
load-nvmrc() { | ||
local nvmrc_path | ||
nvmrc_path="$(nvm_find_nvmrc)" | ||
|
||
if [ -n "$nvmrc_path" ]; then | ||
local nvmrc_node_version | ||
nvmrc_node_version=$(nvm version "$(cat "${nvmrc_path}")") | ||
|
||
if [ "$nvmrc_node_version" = "N/A" ]; then | ||
nvm install | ||
elif [ "$nvmrc_node_version" != "$(nvm version)" ]; then | ||
nvm use | ||
fi | ||
elif [ -n "$(PWD=$OLDPWD nvm_find_nvmrc)" ] && [ "$(nvm version)" != "$(nvm version default)" ]; then | ||
echo "Reverting to nvm default version" | ||
nvm use default | ||
fi | ||
} | ||
|
||
add-zsh-hook chpwd load-nvmrc | ||
load-nvmrc |
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 |
---|---|---|
|
@@ -16,26 +16,37 @@ test -e ${HOME}/.iterm2_shell_integration.zsh && source ${HOME}/.iterm2_shell_in | |
|
||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | ||
|
||
# LOAD NVM | ||
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | ||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | ||
|
||
source ~/.dotfiles/.nvm.zsh | ||
|
||
# heroku autocomplete setup | ||
HEROKU_AC_ZSH_SETUP_PATH=/Users/mikekreeki/Library/Caches/heroku/autocomplete/zsh_setup && test -f $HEROKU_AC_ZSH_SETUP_PATH && source $HEROKU_AC_ZSH_SETUP_PATH; | ||
|
||
# export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" | ||
export PATH="/usr/local/opt/postgresql@10/bin:$PATH" | ||
# export PATH="/usr/local/opt/postgresql@10/bin:$PATH" | ||
|
||
# export LDFLAGS="-L/usr/local/opt/postgresql@10/lib -L/usr/local/opt/[email protected]/lib" | ||
# export CPPFLAGS="-I/usr/local/opt/postgresql@10/include -I/usr/local/opt/[email protected]/include" | ||
|
||
export LDFLAGS="-L/usr/local/opt/postgresql@10/lib" | ||
export CPPFLAGS="-I/usr/local/opt/postgresql@10/include" | ||
# export LDFLAGS="-L/usr/local/opt/postgresql@14/lib" | ||
# export CPPFLAGS="-I/usr/local/opt/postgresql@14/include" | ||
|
||
# The next line updates PATH for Netlify's Git Credential Helper. | ||
test -f '/Users/mikekreeki/Library/Preferences/netlify/helper/path.zsh.inc' && source '/Users/mikekreeki/Library/Preferences/netlify/helper/path.zsh.inc' | ||
|
||
# Set up fzf key bindings and fuzzy completion | ||
eval "$(fzf --zsh)" | ||
|
||
# activate the autosuggestions | ||
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh | ||
|
||
export ANDROID_HOME=$HOME/Library/Android/sdk | ||
|
||
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES | ||
|
||
export PATH=$PATH:$ANDROID_HOME/emulator | ||
export PATH=$PATH:$ANDROID_HOME/platform-tools | ||
export PATH=$PATH:$ANDROID_HOME/tools | ||
|