M .config/aliasrc => .config/aliasrc +2 -1
@@ 33,4 33,5 @@ alias \
v="$EDITOR" \
get_idf=". $HOME/esp/esp-idf/export.sh" \
idf="idf.py" \
- brewall="brew update && brew upgrade && brew cleanup"
+ brewall="brew update && brew upgrade && brew cleanup" \
+ sd="cd $HOME/projects/src/stable-diffusion && pyenv activate anaconda3-2022.05 && conda activate ldm && python scripts/dream.py --full_precision"
M .zprofile => .zprofile +5 -2
@@ 7,11 7,14 @@
local BASIC_PATH="$PATH"
-PATH="/opt/homebrew/opt/openjdk/bin:"
+PATH="/opt/homebrew/opt/ccache/libexec:"
+PATH+="/opt/homebrew/opt/openjdk/bin:"
PATH+="$PYENV_ROOT/bin:"
PATH+="$HOME/.emacs.d/bin:"
PATH+="/opt/homebrew/sbin:"
PATH+="/opt/homebrew/bin:"
+PATH+="/usr/local/opt/llvm/bin:"
+PATH+="/Users/danya/.spicetify:"
PATH+="/opt/homebrew/opt/grep/libexec/gnubin/:"
PATH+="$HOME/projects/src/zls:"
PATH+="$HOME/.local/bin:"
@@ 31,7 34,7 @@ export EDITOR="emacsclient -cna=''"
#export CC="gcc-11"
export CPPFLAGS="-I/opt/homebrew/opt/openjdk/include -I/opt/homebrew/opt/libusb/include -I/opt/homebrew/opt/zlib/include -I/opt/homebrew/opt/openssl@3/include"
-export LDFLAGS="-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/openssl@3/lib"
+export LDFLAGS="-L/opt/homebrew/opt/zlib/lib -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/llvm/lib/c++ -Wl,-rpath,/opt/homebrew/opt/llvm/lib/c++"
export LD_LIBRARY_PATH="/opt/homebrew/lib:/opt/homebrew/include:/Applications/Postgres.app/Contents/Versions/latest/lib/:/Applications/Postgres.app/Contents/Versions/latest/include/:$LD_LIBRARY_PATH"
export C_INCLUDE_PATH="/opt/homebrew/include:/opt/homebrew/lib:/Applications/Postgres.app/Contents/Versions/latest/lib/:$C_INCLUDE_PATH"
M .zshrc => .zshrc +2 -13
@@ 8,7 8,7 @@ ENABLE_CORRECTION="true"
DISABLE_UNTRACKED_FILES_DIRTY="true"
# Miscellaneous things and plugins
-plugins=(brew
+plugins=(autoupdate
fzf
git
gnu-utils
@@ 16,6 16,7 @@ plugins=(brew
macos
pyenv
rust
+ nvm
xcode
zoxide
you-should-use
@@ 27,19 28,7 @@ source $ZSH/oh-my-zsh.sh
[ -f "${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc" ] && source "${XDG_CONFIG_HOME:-$HOME/.config}/aliasrc"
eval "$(starship init zsh)"
-export PATH="/usr/local/opt/llvm/bin:$PATH"
-
-export NVM_DIR="$HOME/.nvm"
-[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
-[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
-
-# bun completions
-[ -s "/Users/danya/.bun/_bun" ] && source "/Users/danya/.bun/_bun"
-
-# bun
-export BUN_INSTALL="/Users/danya/.bun"
-export PATH="$BUN_INSTALL/bin:$PATH"