Created
December 31, 2022 04:52
-
-
Save antonybudianto/b5825936a30ad813f7bcaa808d745306 to your computer and use it in GitHub Desktop.
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 characters
alias c='clear' | |
alias h='cd ~' | |
alias pb='cd ~/Documents/public' | |
alias gs='git status' | |
alias dev='pnpm run' | |
alias sshnginx='ssh [email protected]' | |
GIT_PS1_SHOWDIRTYSTATE=true | |
# load version control information | |
autoload -Uz vcs_info | |
precmd() { vcs_info } | |
# format vcs_info variable | |
zstyle ':vcs_info:git:*' formats ':%F{green}%b%f' | |
# set up the prompt | |
setopt PROMPT_SUBST | |
PROMPT='%F{cyan}%1~%f${vcs_info_msg_0_} $ ' | |
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 | |
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" | |
# Add Visual Studio Code (code) | |
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" | |
export GPG_TTY=$(tty) | |
export NODE_OPTIONS=--max-old-space-size=8172 | |
export DENO_INSTALL="/Users/antony/.deno" | |
export PATH="$DENO_INSTALL/bin:$PATH" | |
export PATH="$PATH:/Users/antony.budianto/Documents/flutterdev/flutter/bin" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment