Web Dev Environment Setup
Note: This was for my Ubuntu setup - need to update this for my macbook setup
Note: This was for my Ubuntu setup - need to update this for my macbook setup
[user] | |
name = Juan Fernandes | |
email = | |
[color] | |
ui = 1 | |
[color "branch"] | |
current = green bold | |
local = green | |
remote = cyan | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = green | |
changed = magenta | |
untracked = red | |
[core] | |
excludesfile = ~/.gitignore_global | |
[credential] | |
helper = cache | |
[help] | |
autocorrect = 50 | |
[push] | |
default = simple |
# GIT Aliases | |
alias g='git' | |
alias gi="git init && gac 'Initial commit'" | |
alias gs='git status' | |
alias ga='git add -A' | |
alias gm='git commit -m' | |
alias gac="git add . && git commit -m" | |
alias gd='git diff --color-words' | |
alias gl='git log' | |
alias glg='git log -p' | |
alias glog='git log --graph --oneline --all --decorate' | |
alias gb='git branch' | |
alias gbd='git branch -D' | |
alias push='git push' | |
alias gdw='git diff -w' | |
alias gc='git checkout' | |
alias gcb="git checkout -b" | |
alias gc-='git checkout -' | |
alias gra='git remote add' | |
alias grr='git remote rm' | |
alias grv='git remote -v' | |
alias gcl='git clone' | |
alias pull='git fetch && git merge --ff-only' | |
alias gmer='git merge --no-ff' | |
alias gwho='git shortlog -s --' | |
alias gr='git reset' | |
# System Aliases | |
alias x='exit' | |
alias ll='ls -a -l' |
# Editors # | |
########### | |
*.sublime-project | |
*.sublime-workspace | |
.vscode/* | |
# OS files # | |
############ | |
._* | |
.DS_Store | |
.DS_Store? | |
.Spotlight-V100 | |
.Trashes | |
[Tt]humbs.db | |
Thumbs.db | |
ehthumbs.db | |
Desktop.ini | |
# Generic files # | |
################# | |
.* | |
~* | |
*.lock | |
*.swp | |
*.out | |
*.swf | |
*.DAV | |
*.orig | |
*.db | |
*.missing | |
*.log | |
*.map | |
# Folders # | |
########### | |
__* | |
tmp/* | |
node_modules/* | |
.sass-cache/* | |
/bower_components | |
/_site | |
/public | |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # | |
############ | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite |
brew install n |
Install Brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
Install Fish | |
brew install fish | |
Install Oh My Fish | |
curl -L https://get.oh-my.fish | fish | |
[comfig default shell] | |
sudo vim /etc/shells | |
chsh -s /usr/local/bin/fish |