Skip to content

Instantly share code, notes, and snippets.

@jaredsinclair
Last active January 23, 2024 19:02
Show Gist options
  • Save jaredsinclair/d47ae83c6a2b0d7c6a0b98a626b3e741 to your computer and use it in GitHub Desktop.
Save jaredsinclair/d47ae83c6a2b0d7c6a0b98a626b3e741 to your computer and use it in GitHub Desktop.
The World's Most Disappointing .zshrc File
# ______ ______ __ __
# /\___ \ /\ ___\ /\ \_\ \
# \/_/ /__ \ \___ \ \ \ __ \
# /\_____\ \/\_____\ \ \_\ \_\
# \/_____/ \/_____/ \/_/\/_/
#
# THE GODDAMN PROMPT
# ---------------------------------------------------------------
# Looks best with certain fonts, e.g. SFMono, smoothing enabled.
export PS1="
╭─%118F${(L)USER}%f@%51F%m%f %226F%~%f
╰─○ "
# FUCK'N ZSH, MAN
# ---------------------------------------------------------------
zle_highlight+=(paste:none)
# THAT FUCK'N ZSH, MAN, SRLSY
# ---------------------------------------------------------------
autoload -U select-word-style
select-word-style bash
# MAH SCRIPPS
# ---------------------------------------------------------------
linecount() {
sh ~/scripts/linecount.sh $1
}
# PATH (WHAT ASSCRACK CALL'D IT THE PATH IT SHOULD BE PLURAL)
# ---------------------------------------------------------------
PATH="$PATH:/usr/local/bin/"
# HOMEBREW
# ---------------------------------------------------------------
PATH="/opt/homebrew/bin:$PATH"
# FUCKING GODDAMN PIECE OF SHIT MOTHER FUCKING FUCK WORKAROUND FOR FASTLANE
# ---------------------------------------------------------------
export FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT=1 export
export FASTLANE_ITUNES_TRANSPORTER_PATH=/Applications/Transporter.app/Contents/itms
# PATH (XCODE)
# ---------------------------------------------------------------
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
PATH="$HOME/.fastlane/bin:$PATH"
PATH=$PATH:/Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources/
# PLAYDATE
# ---------------------------------------------------------------
export PLAYDATE_SDK_PATH=~/Developer/PlaydateSDK
# GIT TAB COMPLETION
# ---------------------------------------------------------------
# STEP 1:
# Download the damn tool from
# https://github.com/git/git/blob/master/contrib/completion/git-completion.zsh
#
# STEP 2:
# Install the fuck'n tool at ~/.zsh/git-completion.zsh
#
# STEP 3:
# this bullshit:
fpath=(~/.zsh $fpath)
#
# STEP 3 PART TWO, THE BULLSHITTENING:
# Add this fuckn line because, for whatever reason, it won't work without it.
# I think the "comp" stands for "completion" but what the fuck.
autoload -Uz compinit && compinit
# GITHUB GPG SIGNING
# ---------------------------------------------------------------
export GPG_TTY=$(tty)
# GO
# ---------------------------------------------------------------
export GOPATH=$HOME/go
# MYSQL-CLIENT
# ---------------------------------------------------------------
PATH=/opt/homebrew/opt/mysql-client/bin:$PATH
# I FUCKING HATE RUBY SO MUCH
# ---------------------------------------------------------------
# Don't forget to use Homebrew to install rbenv so this shit works
PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init - zsh)"
# FINAL PATH EXPORT
# ---------------------------------------------------------------
export PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment