Skip to content

Instantly share code, notes, and snippets.

@fera2k
Last active May 12, 2023 01:12
Show Gist options
  • Save fera2k/4d6497f64dc66bc055d4612a995f5f8e to your computer and use it in GitHub Desktop.
Save fera2k/4d6497f64dc66bc055d4612a995f5f8e to your computer and use it in GitHub Desktop.
My Config Files
# enable brew completions
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
autoload -Uz compinit
compinit
fi
# 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
# load asdf shell extension
. /opt/homebrew/opt/asdf/libexec/asdf.sh
source /opt/homebrew/opt/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
alias hl="cd ~/Projects/homelight"
alias hapi="cd ~/Projects/hapi"
alias wps="bin/webpack-dev-server"
alias be="bundle exec"
alias cls="clear"
alias rtest="RAILS_ENV=test bundle exec rails s"
alias ll="ls -la"
alias dir="exa -a --icons"
alias ls="exa -a --icons"
alias gl="git log --graph --decorate --oneline"
export HL_ENGINEERING_DESIGN_TOKENS=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
# export NODE_OPTIONS=--openssl-legacy-provider
export NODE_OPTIONS="--max-old-space-size=3072"
# bit
export PATH="$PATH:$HOME/bin"
# bit end
export ES_JAVA_HOME=$(/usr/libexec/java_home)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment