Last active
          November 11, 2021 14:38 
        
      - 
      
 - 
        
Save Altons/861be2a4023cb1647dce34aae678df8a to your computer and use it in GitHub Desktop.  
    .editorconfig
  
        
  
    
      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
    
  
  
    
  | # EditorConfig is awesome: https://EditorConfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines with a newline ending every file | |
| [*] | |
| end_of_line = lf | |
| trim_trailing_whitespace = true | |
| charset = utf-8 | |
| [*.txt] | |
| indent_style = tab | |
| indent_size = 4 | |
| [*.{diff,md}] | |
| trim_trailing_whitespace = false | |
| [*.rb] | |
| indent_style = space | |
| indent_size = 2 | |
| [Rakefile] | |
| indent_style=space | |
| indent_size=2 | |
| [*.py] | |
| indent_style = space | |
| indent_size = 4 | |
| [Makefile] | |
| indent_style = tab | |
| [*.js] | |
| indent_style = space | |
| indent_size = 2 | |
| # Matches the exact files either package.json or .travis.yml | |
| [{package.json,.travis.yml}] | |
| indent_style = space | |
| indent_size = 2 | |
  
    
      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
    
  
  
    
  | # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
| # Initialization code that may require console input (password prompts, [y/n] | |
| # confirmations, etc.) must go above this block; everything else may go below. | |
| if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
| source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
| fi | |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH="/Users/anr8494/.oh-my-zsh" | |
| plugins=( | |
| git | |
| ssh-agent | |
| gcloud | |
| zsh-autosuggestions | |
| ) | |
| # Set name of the theme to load --- if set to "random", it will | |
| # load a random theme each time oh-my-zsh is loaded, in which case, | |
| # to know which specific one was loaded, run: echo $RANDOM_THEME | |
| # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
| ZSH_THEME="powerlevel10k/powerlevel10k" | |
| source $ZSH/oh-my-zsh.sh | |
| # User configuration | |
| # export MANPATH="/usr/local/man:$MANPATH" | |
| # You may need to manually set your language environment | |
| # export LANG=en_US.UTF-8 | |
| # Preferred editor for local and remote sessions | |
| # if [[ -n $SSH_CONNECTION ]]; then | |
| # export EDITOR='vim' | |
| # else | |
| # export EDITOR='mvim' | |
| # fi | |
| # Compilation flags | |
| # export ARCHFLAGS="-arch x86_64" | |
| # Set personal aliases, overriding those provided by oh-my-zsh libs, | |
| # plugins, and themes. Aliases can be placed here, though oh-my-zsh | |
| # users are encouraged to define aliases within the ZSH_CUSTOM folder. | |
| # For a full list of active aliases, run `alias`. | |
| # | |
| # Example aliases | |
| # alias zshconfig="mate ~/.zshrc" | |
| # alias ohmyzsh="mate ~/.oh-my-zsh" | |
| # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. | |
| [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh | |
| [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh | |
| # FILE_ALIASES="/Users/anr8494/Google Drive File Stream/My Drive/alias.txt" | |
| # if [ -f $FILE_ALIASES ]; | |
| # then | |
| # source $FILE_ALIASES | |
| # fi | |
| # Smarter Shorcuts | |
| # ------------------------------------------------------------ | |
| alias cp='cp -iv' # Preferred 'cp' implementation | |
| alias mv='mv -iv' # Preferred 'mv' implementation | |
| alias mkdir='mkdir -pv' # Preferred 'mkdir' implementation | |
| alias ll='exa -la' # Preferred 'ls' implementation | |
| alias ls='exa' | |
| alias cat='bat' | |
| alias lsd='exa -l | grep "^d"' # List only directories | |
| alias la="exa -lha" # List all files colorized in long format, including dot files | |
| cd() { builtin cd "$@"; ll; } # Always list directory contents upon 'cd' | |
| alias cd..='cd ../' # Go back 1 directory level (for fast typers) | |
| alias ..='cd ../' # Go back 1 directory level | |
| alias ...='cd ../../' # Go back 2 directory levels | |
| alias .3='cd ../../../' # Go back 3 directory levels | |
| alias .4='cd ../../../../' # Go back 4 directory levels | |
| alias .5='cd ../../../../../' # Go back 5 directory levels | |
| alias .6='cd ../../../../../../' # Go back 6 directory levels | |
| alias path='echo -e ${PATH//:/\\n}' # path: Echo all executable Paths | |
| alias c='clear' # c: Clear terminal display | |
| alias edit='code --wait' # edit: Opens any file in sublime editor | |
| mcd () { mkdir -p "$1" && cd "$1"; } # mcd: Makes new Dir and jumps inside | |
| # cleanupDS: Recursively delete .DS_Store files | |
| # ------------------------------------------------------------------- | |
| alias cleanupDS="find . -type f -name '*.DS_Store' -ls -delete" | |
| alias zshconfig="code ~/.zshrc" | |
| alias sz="source ~/.zshrc" | |
| alias ohmyzsh="code ~/.oh-my-zsh" | |
| alias tf=terraform | |
| alias gccl="gcloud config configurations list" | |
| alias gal="gcloud auth list" | |
| alias gcsa="gcloud config set account" | |
| alias gl="gcloud config list" | |
| alias gcp="alias | grep -w 'gl\|gal\|gcca\|gccl\|gcsa\|gcp-\|zshconfig\|sz'" | |
| # extract: Extract most know archives with one command | |
| # --------------------------------------------------------- | |
| extract () { | |
| if [ -f $1 ] ; then | |
| case $1 in | |
| *.tar.bz2) tar xjf $1 ;; | |
| *.tar.gz) tar xzf $1 ;; | |
| *.bz2) bunzip2 $1 ;; | |
| *.rar) unrar e $1 ;; | |
| *.gz) gunzip $1 ;; | |
| *.tar) tar xf $1 ;; | |
| *.tbz2) tar xjf $1 ;; | |
| *.tgz) tar xzf $1 ;; | |
| *.zip) unzip $1 ;; | |
| *.Z) uncompress $1 ;; | |
| *.7z) 7z x $1 ;; | |
| *) echo "'$1' cannot be extracted via extract()" ;; | |
| esac | |
| else | |
| echo "'$1' is not a valid file" | |
| fi | |
| } | |
| # The next line updates PATH for the Google Cloud SDK. | |
| if [ -f '/Users/anr8494/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/anr8494/google-cloud-sdk/path.zsh.inc'; fi | |
| # The next line enables shell command completion for gcloud. | |
| if [ -f '/Users/anr8494/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/anr8494/google-cloud-sdk/completion.zsh.inc'; fi | |
| # >>> conda initialize >>> | |
| # !! Contents within this block are managed by 'conda init' !! | |
| __conda_setup="$('/opt/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | |
| if [ $? -eq 0 ]; then | |
| eval "$__conda_setup" | |
| else | |
| if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then | |
| . "/opt/anaconda3/etc/profile.d/conda.sh" | |
| else | |
| export PATH="/opt/anaconda3/bin:$PATH" | |
| fi | |
| fi | |
| unset __conda_setup | |
| # <<< conda initialize <<< | |
| unsetopt PROMPT_SP | |
| export PATH="$HOME/.rbenv/bin:$PATH" | |
| eval "$(rbenv init -)" | |
| export VAULT_ADDR=https://vault.halfpipe.io | |
| export PATH="/usr/local/sbin:$PATH" | |
| export PATH="/usr/local/opt/openjdk/bin:$PATH" | |
| # export PATH="$HOME/go/bin/:$PATH" | |
| alias gcp-configs="$HOME/go/bin/gcp-config" | |
| source "$HOME/.gcp-alias" | |
| alias vl="vault login -method=github token=a7ab25eb9b0a9c22f3655c897fcf0cabfff343d3" | |
| autoload -U +X bashcompinit && bashcompinit | |
| complete -o nospace -C /usr/local/bin/terraform terraform | |
| export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) | |
| # export JAVA_9_HOME=$(/usr/libexec/java_home -v9) | |
| # export JAVA_10_HOME=$(/usr/libexec/java_home -v10) | |
| # export JAVA_11_HOME=$(/usr/libexec/java_home -v11) | |
| # export JAVA_12_HOME=$(/usr/libexec/java_home -v12) | |
| # export JAVA_13_HOME=$(/usr/libexec/java_home -v13) | |
| export JAVA_14_HOME=$(/usr/libexec/java_home -v14) | |
| # export JAVA_15_HOME=$(/usr/libexec/java_home -v15) | |
| # export JAVA_16_HOME=$(/usr/libexec/java_home -v16) | |
| alias java8='export JAVA_HOME=$JAVA_8_HOME' | |
| # alias java9='export JAVA_HOME=$JAVA_9_HOME' | |
| # alias java10='export JAVA_HOME=$JAVA_10_HOME' | |
| # alias java11='export JAVA_HOME=$JAVA_11_HOME' | |
| # alias java12='export JAVA_HOME=$JAVA_12_HOME' | |
| # alias java13='export JAVA_HOME=$JAVA_13_HOME' | |
| alias java14='export JAVA_HOME=$JAVA_14_HOME' | |
| # alias java15='export JAVA_HOME=$JAVA_15_HOME' | |
| # alias java16='export JAVA_HOME=$JAVA_16_HOME' | |
| # default to Java 8 | |
| java8 | |
| export PATH=$JAVA_HOME/bin:$PATH | |
| #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! | |
| export SDKMAN_DIR="/Users/anr8494/.sdkman" | |
| [[ -s "/Users/anr8494/.sdkman/bin/sdkman-init.sh" ]] && source "/Users/anr8494/.sdkman/bin/sdkman-init.sh" | |
| export PIPENV_VENV_IN_PROJECT=1 | |
| export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment