<commit_before># Enable aliases to be sudo'ed
alias sudo="sudo "

# Fish
alias reload='source ~/.config/fish/config.fish'

# Navigation
function ..    ; cd .. ; end
function ...   ; cd ../.. ; end
function ....  ; cd ../../.. ; end
function ..... ; cd ../../../.. ; end

function g        ; git $argv ; end
function grep     ; command grep --color=always $argv ; end

# Git
alias g="git"
alias gti="git"
alias push="git push"
alias gcm="g co main"
alias gcl="g co -"
alias grbm="g rebase main"
alias gap='g add .;g amendne; g punch'
alias ggone="g branch -v | grep '\[gone\]' | awk '{ print \$1 }'"

# Flagship Git
alias mb="make bootstrap"

# Vim
alias v="nvim"
alias vv="nvim ."

alias chmox='chmod +x'

# Brew
alias cask='brew cask'
alias brewu='brew update && brew upgrade && brew cleanup && brew doctor'
alias ibrew='arch -x86_64 /usr/local/bin/brew'
# Homebrew upgrade/date is confusing
alias brew_update="brew -v update; brew upgrade --force-bottle --cleanup; brew cleanup; brew cask cleanup; brew prune; brew doctor"

# *nix
alias hosts='sudo $EDITOR /etc/hosts'
alias fs="stat -f \"%z bytes\""
alias tryst='cd (mktemp -d)'

# Rosetta
alias i="arch -x86_64"

# Networking. IP address, dig, DNS
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias dig="dig +nocmd any +multiline +noall +answer"

alias diskspace_report="df -P -kHl"
alias free_diskspace_report="diskspace_report"

# Archives
alias mktar="tar -pvczf"
alias untar="tar -zxvf"

# Remove all items from the dock
alias cleardock="defaults write com.apple.dock persistent-apps -array \"\" && killall Dock"

# Git
alias gd='git diff'
alias gdc='git diff --cached -w'
alias gds='git diff --staged -w'
alias gs='git status'
alias gsh='git show'
alias gl='git l'

# Quick Edits
alias fe='vim ~/.config/fish/config.fish'
alias ae='vim ~/.config/fish/aliases.fish'
alias ve='vim ~/.vimrc'
alias ge='vim ~/.gitconfig'
alias be='vim ~/.Brewfile'

# Xcode
alias cleansims='xcrun simctl delete unavailable'
alias resignxcode='sudo codesign -f -s XcodeSigner' # Pass Xcode path
alias provfiles='cd ~/Library/MobileDevice/Provisioning\ Profiles'
alias methoddump-'otool -ov'
alias rmdd='rm -fr ~/Library/Developer/Xcode/DerivedData'

# iOS Simulator
alias deeplink='xcrun simctl openurl booted'

# Bazel
alias bazelbinloc='bazel info bazel-bin'

# Docker
alias dockerkillall='docker kill (docker ps -q)'
alias dockerdac='docker rm (docker ps -a -q)'<commit_msg>Fix alias typo<commit_after># Enable aliases to be sudo'ed
alias sudo="sudo "

# Fish
alias reload='source ~/.config/fish/config.fish'

# Navigation
function ..    ; cd .. ; end
function ...   ; cd ../.. ; end
function ....  ; cd ../../.. ; end
function ..... ; cd ../../../.. ; end

function g        ; git $argv ; end
function grep     ; command grep --color=always $argv ; end

# Git
alias g="git"
alias gti="git"
alias push="git push"
alias gcm="g co main"
alias gcl="g co -"
alias grbm="g rebase main"
alias gap='g add .;g amendne; g punch'
alias ggone="g branch -v | grep '\[gone\]' | awk '{ print \$1 }'"

# Flagship Git
alias mb="make bootstrap"

# Vim
alias v="nvim"
alias vv="nvim ."

alias chmox='chmod +x'

# Brew
alias cask='brew cask'
alias brewu='brew update && brew upgrade && brew cleanup && brew doctor'
alias ibrew='arch -x86_64 /usr/local/bin/brew'
# Homebrew upgrade/date is confusing
alias brew_update="brew -v update; brew upgrade --force-bottle --cleanup; brew cleanup; brew cask cleanup; brew prune; brew doctor"

# *nix
alias hosts='sudo $EDITOR /etc/hosts'
alias fs="stat -f \"%z bytes\""
alias tryst='cd (mktemp -d)'

# Rosetta
alias i="arch -x86_64"

# Networking. IP address, dig, DNS
alias ip="dig +short myip.opendns.com @resolver1.opendns.com"
alias dig="dig +nocmd any +multiline +noall +answer"

alias diskspace_report="df -P -kHl"
alias free_diskspace_report="diskspace_report"

# Archives
alias mktar="tar -pvczf"
alias untar="tar -zxvf"

# Remove all items from the dock
alias cleardock="defaults write com.apple.dock persistent-apps -array \"\" && killall Dock"

# Git
alias gd='git diff'
alias gdc='git diff --cached -w'
alias gds='git diff --staged -w'
alias gs='git status'
alias gsh='git show'
alias gl='git l'

# Quick Edits
alias fe='vim ~/.config/fish/config.fish'
alias ae='vim ~/.config/fish/aliases.fish'
alias ve='vim ~/.vimrc'
alias ge='vim ~/.gitconfig'
alias be='vim ~/.Brewfile'

# Xcode
alias cleansims='xcrun simctl delete unavailable'
alias resignxcode='sudo codesign -f -s XcodeSigner' # Pass Xcode path
alias provfiles='cd ~/Library/MobileDevice/Provisioning\ Profiles'
alias methoddump='otool -ov'
alias rmdd='rm -fr ~/Library/Developer/Xcode/DerivedData'

# iOS Simulator
alias deeplink='xcrun simctl openurl booted'

# Bazel
alias bazelbinloc='bazel info bazel-bin'

# Docker
alias dockerkillall='docker kill (docker ps -q)'
alias dockerdac='docker rm (docker ps -a -q)'
{'fraction_non_alphanumeric': 0.15134690520254987, 'fraction_numerical': 0.004112687641373638, 'mean_word_length': 3.9430894308943087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '84222', 'n_tokens_mistral': 1797, 'n_tokens_neox': 1707, 'n_words': 555}