Skip to content

Instantly share code, notes, and snippets.

@cassidoo
Created February 13, 2022 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cassidoo/0e4d20b176bf207ea5a6fccccbb834b2 to your computer and use it in GitHub Desktop.
Save cassidoo/0e4d20b176bf207ea5a6fccccbb834b2 to your computer and use it in GitHub Desktop.
Latest .zshrc file
export HOMEBREW_INSTALL_BADGE="🧋"
# Bash/ZSH Stuff
alias reload='source ~/.zshrc'
alias a='echo "------------Your aliases------------";alias'
alias sa='source ~/.zshrc;echo "ZSH aliases sourced."'
alias bp='vim ~/.zshrc'
# Install git completion here: brew install git bash-completion
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
# Git Stuff
# Make sure you do git config --global alias.whatever
alias co='checkout'
alias st='status'
alias yolo='git status && git add -A && git commit -m "I do what I want" && git push origin master'
# Dev Stuff
alias servepy='python -m SimpleHTTPServer'
# Filesystem Stuff
alias ll='ls -lhA'
alias ..='cd ..'
alias ...='cd ../../'
alias gh='cd ~/GitHub'
alias work='cd ~/Work'
alias search='ls -al | grep'
# Random Stuff
# Install with: brew install fortune cowsay lolcat
alias wisdom='fortune | cowsay -f dragon-and-cow | lolcat'
BASE16_SHELL=$HOME/.config/base16-shell/
[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment