Last active
July 12, 2024 15:08
-
-
Save jaredsinclair/d47ae83c6a2b0d7c6a0b98a626b3e741 to your computer and use it in GitHub Desktop.
The World's Most Disappointing .zshrc File
This file contains 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
# ______ ______ __ __ | |
# /\___ \ /\ ___\ /\ \_\ \ | |
# \/_/ /__ \ \___ \ \ \ __ \ | |
# /\_____\ \/\_____\ \ \_\ \_\ | |
# \/_____/ \/_____/ \/_/\/_/ | |
# | |
# THE GODDAMN PROMPT | |
# --------------------------------------------------------------- | |
# Looks best with certain fonts, e.g. SFMono, smoothing enabled. | |
export PS1=" | |
╭─%118F%n%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 | |
# --------------------------------------------------------------- | |
lcswift() { | |
sh ~/scripts/linecount-swift.sh $1 | |
} | |
lcdocs() { | |
sh ~/scripts/linecount-docs.sh $1 | |
} | |
lcobjc() { | |
sh ~/scripts/linecount-objc.sh $1 | |
} | |
dbranches() { | |
sh ~/scripts/dbranches.sh | |
} | |
# 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 | |
# --------------------------------------------------------------- | |
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