Last active
August 29, 2015 14:04
-
-
Save pulse00/fd44e84b15a329480659 to your computer and use it in GitHub Desktop.
Dotfiles
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
[core] | |
autocrlf = input | |
[user] | |
name = pulse00 | |
email = [email protected] | |
[alias] | |
# http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/ | |
cp = cherry-pick | |
st = status -s | |
cl = clone | |
ci = commit | |
co = checkout | |
br = branch | |
diff = diff --word-diff | |
dc = diff --cached | |
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate | |
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
lds = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short | |
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative | |
[mergetool "Kaleidoscope"] | |
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot | |
trustexitcode = true | |
[merge] | |
tool = Kaleidoscope | |
[difftool "Kaleidoscope"] | |
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\" | |
[difftool] | |
prompt = false | |
[mergetool] | |
prompt = false | |
[diff] | |
tool = Kaleidoscope |
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
# Compiled source # | |
################### | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite | |
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db | |
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm | |
## Directory-based project format | |
.idea/ | |
## File-based project format | |
*.ipr | |
*.iml | |
*.iws | |
## Additional for IntelliJ | |
out/ | |
# generated by mpeltonen/sbt-idea plugin | |
.idea_modules/ | |
# Eclipse # | |
########### | |
*.project | |
.settings/ | |
# Vagrant # | |
########### | |
.vagrant/ | |
# Composer # | |
############ | |
composer.phar | |
vendor/ | |
# Maven / SBT # | |
############### | |
target/ | |
lib_managed/ | |
src_managed/ | |
project/boot/ | |
.history | |
.cache | |
pom.xml.tag | |
pom.xml.releaseBackup | |
pom.xml.versionsBackup | |
pom.xml.next | |
release.properties |
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
" turn on syntax highlighting | |
:syntax on | |
" activte line numbers | |
:set number | |
" toggle line numbers on F2 | |
nnoremap <F2> :set nonumber!<CR> | |
" syntax highlight json files | |
autocmd BufNewFile,BufRead *.json set ft=javascript | |
" turn on ruler in the status bar | |
:set ruler |
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
# general settings | |
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="niepi" | |
plugins=(git osx common-aliases urltools ssh-agent brew composer mvn) | |
source $ZSH/oh-my-zsh.sh | |
# configure ssh-agent plugin | |
zstyle :omz:plugins:ssh-agent agent-forwarding on | |
zstyle :omz:plugins:ssh-agent identities id_rsa some-other.pem | |
# User configuration | |
export PATH="~/.rvm/gems/ruby-2.1.2/bin:~/.rvm/gems/ruby-2.1.2@global/bin:~/.rvm/rubies/ruby-2.1.2/bin:/usr/local/opt/php55/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/MacGPG2/bin:/usr/local/packer:~/.rvm/bin" | |
# exports | |
export JAVA_HOME=`/usr/libexec/java_home -v1.8` | |
# java aliases | |
alias mclean="mvn clean install -DskipTests" | |
alias java7="export JAVA_HOME=`/usr/libexec/java_home -v1.7`" | |
alias java8="export JAVA_HOME=`/usr/libexec/java_home -v1.8`" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment