Skip to content

Instantly share code, notes, and snippets.

@cruzluna
Created October 21, 2025 16:33
Show Gist options
  • Select an option

  • Save cruzluna/f7c9789683a78e060dfd5b572dd1798f to your computer and use it in GitHub Desktop.

Select an option

Save cruzluna/f7c9789683a78e060dfd5b572dd1798f to your computer and use it in GitHub Desktop.
zshrc
# Place in your .zshrc file.
# If a command takes >10 CPU seconds, automatically print the time it took.
REPORTTIME=10
# Format the output of the time command to be a little more human friendly.
TIMEFMT=" Elapsed: %*E User: %U Kernel: %*S"
alias gcne='git commit --amend --no-edit'
alias gw='git worktree'
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias gss='find . -name .git -type d -execdir sh -c "pwd && git status" \;'
alias gs='git status'
alias gcm='git commit -m '
alias gpr='git pull origin -r'
alias gd='git diff | bat'
alias c="open $1 -a \"Visual Studio Code\""
alias ij="open $1 -a \"IntelliJ IDEA Ultimate\""
alias pb="pwd | pbcopy"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment