Created
May 26, 2013 11:41
-
-
Save dirkz/5652549 to your computer and use it in GitHub Desktop.
dot configs
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
echo .bash_profile | |
alias eject="hdiutil eject" | |
alias ll="ls -l" | |
alias lll="ls -al" | |
# git aliases | |
alias gs="git status" | |
alias s='git status' | |
alias gc="git commit" | |
alias ga="git add" | |
alias gl="git log" | |
alias gd="git diff" | |
alias d="git diff" | |
alias gb="git branch" | |
alias gf="git fetch" | |
# own scripts | |
export PATH=~/Documents/dvl/sh:$PATH | |
# compiled stuff | |
export PATH=~/bin:$PATH | |
# clojure script home | |
#export CLOJURESCRIPT_HOME=~/Documents/clojure/clojurescript | |
# vim | |
#export EDITOR=/usr/bin/vim | |
# text wrangler | |
export EDITOR='/usr/local/bin/edit --wait' | |
# oracle jdk 7 | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_21.jdk/Contents/Home | |
export PATH=$JAVA_HOME/bin:$PATH | |
# grails | |
export GRAILS_HOME=~/install/grails-core | |
export PATH=$GRAILS_HOME/bin:$PATH | |
export LC_CTYPE=en_US.UTF-8 | |
# texturetool | |
#export PATH=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:$PATH | |
# android sdk | |
export PATH=~/android-sdk-macosx/tools:~/android-sdk-macosx/platform-tools:$PATH | |
# maven / mvn | |
export M2_HOME=~/install/apache-maven-3.0.5 | |
export M2=$M2_HOME/bin | |
export PATH=$M2:$PATH | |
if [ -f /opt/local/etc/bash_completion ]; then | |
. /opt/local/etc/bash_completion | |
fi | |
source ~/Documents/dvl/sh/git-completion.bash | |
source ~/Documents/dvl/sh/git-prompt.sh | |
#export PS1='\h:\W \u\$' # original | |
#export PS1='\W \[\e[1;34m\]$(__git_ps1 "(%s)")\[\e[1;0m\] \$ ' | |
export PS1='\h:\W\[\033[01;34m\]$(__git_ps1 "[%s]")\[\033[01;00m\]\$ ' |
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
(live-append-packs '(~/.live-packs/dirk)) |
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
config defaultToCurrentScreen true | |
config nudgePercentOf screenSize | |
config resizePercentOf screenSize | |
bind left:ctrl;alt;cmd push left bar-resize:screenSizeX/2 | |
bind h:ctrl;alt;cmd push left bar-resize:screenSizeX/2 | |
bind right:ctrl;alt;cmd push right bar-resize:screenSizeX/2 | |
bind l:ctrl;alt;cmd push right bar-resize:screenSizeX/2 | |
bind up:ctrl;alt;cmd push up bar-resize:screenSizeY/2 | |
bind k:ctrl;alt;cmd push up bar-resize:screenSizeY/2 | |
bind down:ctrl;alt;cmd push down bar-resize:screenSizeY/2 | |
bind j:ctrl;alt;cmd push down bar-resize:screenSizeY/2 | |
bind return:ctrl;alt;cmd corner top-left resize:screenSizeX;screenSizeY | |
bind space:ctrl;alt;cmd corner top-left resize:screenSizeX;screenSizeY |
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
;; User pack init file | |
;; | |
;; User this file to initiate the pack configuration. | |
;; See README for more information. | |
;; Load bindings config | |
(live-load-config-file "bindings.el") | |
;; mac specific settings | |
(when (and (window-system) (eq system-type 'darwin)) | |
(setq mac-command-modifier 'control) | |
(global-set-key (kbd "C-SPC") 'set-mark-command)) | |
;; window size | |
;; (if (window-system) | |
;; (set-frame-size (selected-frame) 260 75)) | |
(when (and (window-system) (eq system-type 'darwin)) | |
(add-to-list 'default-frame-alist '(font . "Menlo 14"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment