# STAGE & SNAPSHOT
git config --global alias.st status
git config --global alias.a "add ."
git config --global alias.ci commit
# BRANCH & HISTORY
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.unstage 'reset HEAD -- .'
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
| # default editor | |
| export EDITOR=nano | |
| export VISUAL="$EDITOR" | |
| # CDPATH | |
| export CDPATH=.\ | |
| :${HOME}\ | |
| :${HOME}/code\ | |
| function parse_git_branch() { |
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
| { | |
| "[python]": { | |
| "editor.tabSize": 4, | |
| "editor.insertSpaces": true | |
| }, | |
| "editor.fontFamily": "Source Code Pro, Monaspace Neon, monospace", | |
| "editor.fontSize": 18, | |
| "editor.minimap.enabled": false, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.renderWhitespace": "boundary", |
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
| export EDITOR=nano | |
| export VISUAL="$EDITOR" | |
| # git | |
| autoload -Uz compinit && compinit | |
| function parse_git_branch() { | |
| git branch 2> /dev/null | sed -n -e 's/^\* \(.*\)/[\1]/p' | |
| } | |
| COLOR_DEF=$'%f' |