Last active
February 18, 2024 03:01
-
-
Save iamWing/d30103529a00e01af5944f0ecbb9209f to your computer and use it in GitHub Desktop.
Revisions
-
iamWing revised this gist
Feb 18, 2024 . 1 changed file with 21 additions and 29 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,17 +1,16 @@ export LC_ALL=en_US.UTF-8 export PATH="/usr/local/bin:$PATH" export TERM="xterm-256color" alias ..='cd ..' alias ll='ls -alF' POWERLEVEL9K_MODE="nerdfont-complete" source /usr/local/share/powerlevel10k/powerlevel10k.zsh-theme # Rye setup source "$HOME/.rye/env" autoload -Uz compinit fpath=(~/.zsh/completion $fpath) compinit -i @@ -20,33 +19,26 @@ setopt auto_cd # Customise the Powerlevel9k prompts POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon dir vcs newline ssh user virtualenv anaconda status ) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() POWERLEVEL9K_PROMPT_ADD_NEWLINE=true if type brew &>/dev/null; then FPATH="$(brew --prefix)/share/zsh-completions":$FPATH autoload -Uz compinit compinit fi export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion -
iamWing created this gist
Aug 19, 2022 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,52 @@ export LC_ALL=en_US.UTF-8 export PATH="/usr/local/opt/node@16/bin:$PATH" export PATH="/usr/local/bin:$PATH" export TERM="xterm-256color" export LDFLAGS="-L/usr/local/opt/node@16/lib" export CPPFLAGS="-I/usr/local/opt/node@16/include" export JAVA_HOME="/usr/local/Cellar/openjdk@11/11.0.16/libexec/openjdk.jdk/Contents/Home" POWERLEVEL9K_MODE='nerdfont-complete' source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme alias ..='cd ..' alias ll='ls -alF' autoload -Uz compinit fpath=(~/.zsh/completion $fpath) compinit -i setopt auto_cd # Customise the Powerlevel9k prompts POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( os_icon dir vcs newline ssh user virtualenv status ) POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() POWERLEVEL9K_PROMPT_ADD_NEWLINE=true if [ -n "$PYTHONPATH" ]; then export PYTHONPATH='/usr/local/Cellar/pdm/2.1.1/libexec/lib/python3.10/site-packages/pdm/pep582':$PYTHONPATH else export PYTHONPATH='/usr/local/Cellar/pdm/2.1.1/libexec/lib/python3.10/site-packages/pdm/pep582' fi if type brew &>/dev/null; then FPATH=$(brew --prefix)/share/zsh-completions:$FPATH autoload -Uz compinit compinit fi jdk() { version=$1 unset JAVA_HOME; export JAVA_HOME=$(/usr/libexec/java_home -v"$version"); java -version }