Created
December 1, 2023 01:56
-
-
Save xavierchia/519f6359fe1599189cdf28e3df73f1fa to your computer and use it in GitHub Desktop.
Nano shortcuts
This file contains hidden or 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
alias dd='rm -rf /Users/xavier/Library/Developer/Xcode/DerivedData/*' | |
alias ccb='git branch --show-current | pbcopy | echo "current branch copied to $ | |
alias reset='git reset head~1' | |
alias reuse='git commit --reuse-message=orig_head | echo "commited with last me$ | |
alias nanoz='nano ~/.zshrc' | |
alias xlog='git log --format="%C(auto) %h %s" -n10' | |
alias dab='git branch | grep -v "main" | xargs git branch -D' | |
alias diff='git diff --name-only --diff-filter=U --relative' | |
export CLICOLOR=1 | |
export LSCOLORS=bxFxCxDxBxegedabagaced | |
# PROMPT='%n %1~ . ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment