# STAGE & SNAPSHOT
git config --global alias.st status
git config --global alias.a "add ."
git config --global alias.ci commit
# BRANCH & MERGE
git config --global alias.co checkout
git config --global alias.br branch
git config --global alias.lg "log --graph --oneline --decorate --all"
This file contains 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' |
This file contains 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, DejaVu Sans Mono, Fira Code", | |
"editor.fontSize": 18, | |
"editor.minimap.enabled": false, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.renderWhitespace": "boundary", |
This file contains 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() { |