-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_profile
85 lines (65 loc) · 2.3 KB
/
.bash_profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
alias sites='cd ~/Sites'
alias docs='cd ~/Documents'
alias vol='cd /Volumes'
alias nuke='rm -rf'
alias mm='middleman'
alias mmgo='bundle exec middleman'
#git
alias gc='git commit -am'
alias ga='git add -A'
alias gp='git push'
alias gpr='git pull --rebase'
alias gf='git fetch'
alias gs='git status'
alias gch='git checkout'
#alias gl='git log --pretty=oneline --graph --decorate --all'
#alias gl='git log --oneline --graph --decorate'
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias gb='git branch'
alias gnuke='git branch -D'
alias gd='git diff'
alias gdn='git diff --name-only'
#autocomplate
if [ -f ~/.git-completion.bash ]; then
. ~/.git-completion.bash
fi
#solutionset
alias sshsndev='ssh [email protected]'
alias sshsnphp='ssh [email protected]'
#sass
alias sw='sass --watch sass/:css/'
#coffee
alias cfw='coffee -o js/ -cw coffee/'
#compass
alias cmw='compass watch'
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
export MAVEN_OPTS="-Xms1024m -Xmx1024m"
export M2_HOME=/Users/justin.marshall/Sites/Devel/apache-maven-3.0.5
export M2_REPO=/Users/justin.marshall/.m2
export PATH=/bin:/usr/local/bin:/usr/local/sbin:$PATH:$M2_HOME/bin:/usr/local/share/npm/bin:/usr/bin
export TERM='xterm-color'
export CLICOLOR=1
export LSCOLORS=GxFxCxDxBxegedabagaced
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
PS1="\n\[\033[1;3m\]\h\[\033[m\][\[\033[1;32m\]\u\[\033[m\]]💔 \n\033[1;35m\]\$PWD\[\033[m\]: "
#PS1="\n\[\033[1;3m\]\h\[\033[m\][\[\033[1;32m\]\u\[\033[m\]]💔 \n\[\033[1;35m\]\$PWD\[\033[m\]: "
function mkgo(){
mkdir $1 && cd $1
}
#run middleman server
function midl {
cd ~/Sites/$1
middleman
}
function snrun {
cd ~/Sites/servicenow/fe_templates
middleman
}
function snbuild {
cd ~/Sites/servicenow/fe_templates
middleman build
cp -r build/js ../wcm/servicenow-view/src/jcr_root/etc/designs/servicenow/static
cp -r build/fonts ../wcm/servicenow-view/src/jcr_root/etc/designs/servicenow/static
cp -r build/css ../wcm/servicenow-view/src/jcr_root/etc/designs/servicenow/static
rsync -a --exclude '*client*' --exclude '*hero*' build/img ../wcm/servicenow-view/src/jcr_root/etc/designs/servicenow/static
}