cat ~/.ssh/config | grep 'Host ' | cut -f 2 -d ' ' | sort -u
git filter-branch --commit-filter 'export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"; export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"; export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"; git commit-tree "$@"' -- basecommit..HEAD
git reflog expire --expire-unreachable=now --all
git gc --prune=now
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
set -o vi | |
alias docs='cd ~/docs' | |
alias ll='ls -lah' | |
alias lsdot='ls -d .*' | |
export CLICOLOR=1 | |
export HISTCONTROL=ignorespace:erasedups | |
HISTCONTROL=erasedups |
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
source ~/.vimrc | |
set surround | |
set exchange | |
set ReplaceWithRegister | |
set highlightedyank | |
set ideamarks | |
set commentary | |
Plug 'justinmk/vim-sneak' " s__ - like f but 2 chars, ;, - moves on | |
set easymotion |