Last active
March 15, 2022 03:55
-
-
Save azanium/d5d44a3de7ee76d1e8600811f16993c0 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
| # export ANDROID_HOME=/Users/suhendra/Library/Android/sdk | |
| # export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home | |
| # export DRONE_SERVER=https://drone-dev.auto.pink.cat | |
| # export DRONE_TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoiYXphc3RybyIsInR5cGUiOiJ1c2VyIn0.k8ljaYTXSlfKCucFtmJ9i_5QJqwPamKfQ2_03-7yLGI | |
| # export KUBECONFIG=~/.kube/sso_nonprod_config | |
| export LDFLAGS="-L/usr/local/opt/openssl/lib -undefined dynamic_lookup $LDFLAGS" | |
| export CXXFLAGS="-I/usr/local/opt/openssl/include $CXXFLAGS" | |
| export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS" | |
| SPACESHIP_CHAR_SYMBOL=" \uf0e7" | |
| SPACESHIP_CHAR_PREFIX="\uf179" | |
| SPACESHIP_CHAR_SUFFIX=(" ") | |
| SPACESHIP_CHAR_COLOR_SUCCESS="yellow" | |
| SPACESHIP_PROMPT_DEFAULT_PREFIX="$USER" | |
| SPACESHIP_PROMPT_FIRST_PREFIX_SHOW="true" | |
| SPACESHIP_USER_SHOW="true" | |
| alias ls='colorls --report --sort-dirs' | |
| alias lc='colorls --tree' | |
| alias gs='git status' | |
| alias gc='git commit' | |
| alias gp='git pull' | |
| alias gm='git checkout master' | |
| alias gd='git checkout develop' | |
| SPACESHIP_PROMPT_ORDER=( | |
| time # Time stampts section | |
| # user # Username section | |
| host # Hostname section | |
| dir # Current directory section | |
| git # Git section (git_branch + git_status) | |
| node # Node.js section | |
| ruby # Ruby section | |
| xcode # Xcode section | |
| swift # Swift section | |
| golang # Go section | |
| docker # Docker section | |
| venv # virtualenv section | |
| pyenv # Pyenv section | |
| line_sep # Line break | |
| vi_mode # Vi-mode indicator | |
| char # Prompt character | |
| ) | |
| # Load Nerd Fonts with Powerlevel9k theme for Zsh | |
| POWERLEVEL10K_MODE='nerdfont-complete' | |
| ZSH_THEME="powerlevel10k/powerlevel10k" | |
| # Customise the Powerlevel9k prompts | |
| POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( | |
| custom_javascript | |
| dir | |
| vcs | |
| newline | |
| status | |
| ) | |
| POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="" | |
| POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="↳ " | |
| POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() | |
| POWERLEVEL9K_PROMPT_ADD_NEWLINE=true | |
| POWERLEVEL9K_CUSTOM_JAVASCRIPT="echo -n '\ue781' Azanium" | |
| POWERLEVEL9K_CUSTOM_JAVASCRIPT_FOREGROUND="black" | |
| POWERLEVEL9K_CUSTOM_JAVASCRIPT_BACKGROUND="yellow" | |
| POWERLEVEL9K_STATUS_OK_BACKGROUND="gray" | |
| POWERLEVEL9K_STATUS_OK_FOREGROUND="green" | |
| POWERLEVEL9K_STATUS_ERROR_BACKGROUND="gray" | |
| POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red" | |
| POWERLEVEL9K_STATUS_VERBOSE=false | |
| POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE=true | |
| POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="Wow" | |
| # Load Zsh tools for syntax highlighting and autosuggestions | |
| HOMEBREW_FOLDER="/usr/local/share" | |
| source "$HOMEBREW_FOLDER/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" | |
| source "$HOMEBREW_FOLDER/zsh-autosuggestions/zsh-autosuggestions.zsh" | |
| # Colorise the top Tabs of Iterm2 with the same color as background | |
| # Just change the 18/26/33 wich are the rgb values | |
| echo -ne "\033]6;1;bg;red;brightness;18\a" | |
| echo -ne "\033]6;1;bg;green;brightness;26\a" | |
| echo -ne "\033]6;1;bg;blue;brightness;33\a" | |
| # Print a colorful message when the terminal loads using the artii and lolcat Ruby gems (you can change 'Zsh!' to any message you want) | |
| # artii H3110! --font slant | lolcat | |
| plugins=( | |
| git | |
| bundler | |
| dotenv | |
| osx | |
| rake | |
| rbenv | |
| ruby | |
| zsh-syntax-highlighting | |
| ) | |
| alias python=/usr/local/bin/python3 | |
| export CHEATCOLORS=true | |
| export EDITOR=vim | |
| 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 GOROOT=/usr/local/opt/go/libexec | |
| export GOSRC=$GOPATH/src | |
| export PATH=$PATH:$GOPATH/bin | |
| export PATH=$PATH:$GOROOT/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment