Skip to content

Instantly share code, notes, and snippets.

@emartini
Created November 13, 2017 13:55
Show Gist options
  • Save emartini/305955e8c29864b2a6844e9445fed29c to your computer and use it in GitHub Desktop.
Save emartini/305955e8c29864b2a6844e9445fed29c to your computer and use it in GitHub Desktop.
Personal settings
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[user]
name =
email =
[alias]
aa = add --all
br = branch
ci = commit
co = checkout
dd = diff
dc = diff --staged
fp = fetch --prune --all
gr = !git --no-pager log --graph --decorate --oneline --all -25
graph = log --graph --decorate --oneline --all
ri = rebase --interactive --autosquash
st = status -u -sb
save = stash -u
stat = log --stat
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
autoload -U promptinit; promptinit
prompt pure
fpath=(/usr/local/share/zsh-completions $fpath)
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
alias gst='git status'
alias git_current_branch='git branch | grep \* | cut -d " " -f2'
alias gco='git checkout'
alias ggpush='git_current_branch | git push origin'
alias code='/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin/code'
alias g='git'
{
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "Atom One Dark",
"editor.fontFamily": "'Source Code Pro', Menlo, Monaco, 'Courier New', monospace",
"editor.tabSize": 2,
"editor.fontSize": 14,
"editor.rulers": [80, 100],
"editor.minimap.enabled": false,
"window.zoomLevel": 1,
"editor.formatOnPaste": true,
"eslint.autoFixOnSave": true,
"vsicons.dontShowNewVersionMessage": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment