06-30-2026, 08:35 PM
Not the look at my 500-line zshrc post. Just the stuff that actually saved you time this week.
Mine:
The port killer alone has saved me more time than I care to admit.
What are yours? Bash or zsh, does not matter.
Mine:
Code:
# Git shorthand
alias gs="git status"
alias gp="git push"
alias gl="git log --oneline --graph --decorate -20"
# Find stuff fast
function ff() { find . -name "*$1*" 2>/dev/null; }
# Kill whatever is on a port
function killport() { lsof -ti:$1 | xargs kill -9; }
# Open last modified file in nvim
alias vlast="nvim $(ls -t | head -1)"The port killer alone has saved me more time than I care to admit.
What are yours? Bash or zsh, does not matter.
