-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
85 lines (67 loc) · 2.16 KB
/
.aliases
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
82
83
84
85
export SASS_LIBSASS_PATH=/Users/daletan/git_repos/libsass
function mergerepos () {
git co master
git pull upstream master
git co release
git pull upstream release
echo '-------- merging master to release'
git merge master
git co develop
git pull upstream develop
echo '-------- merging release to develop'
git merge release
}
alias mergerepo=mergerepos
alias ..='cd ../'
alias ....='cd ../../'
alias ......='cd ../../../'
alias ........='cd ../../../../'
alias qa='ssh dale@qa'
alias mcperson='ssh dale@mcperson'
alias honeysuckle='ssh dale@honeysuckle'
alias finding='ssh dale@finding'
alias growth='ssh dale@growth'
alias wpprod='ssh dale@172.20.200.108'
alias wpstage='ssh dale@172.20.99.145'
alias ls='ls -la'
alias vb='vim ~/.dotfiles/.zshrc'
alias sb='source ~/.zshrc'
alias vz='vim ~/.dotfiles/.zprofile'
alias sz='source ~/.zprofile'
alias va='vim ~/.dotfiles/.aliases'
alias sa='source ~/.aliases'
alias vagpuppet='com && vagrant ssh -c "puppet agent --no-daemonize --verbose --onetime" && vagrant provision'
alias ghcom='cd ~/gh-updates/1stdibs.com'
alias 1stdibs='cd ~/projects/'
alias com='cd ~/projects/1stdibs.com/'
alias v2='cd ~/projects/1stdibs-admin-v2'
alias dibs='com && cd dibs'
alias build='cd ~/projects/1stdibs.com/dibs/build/'
alias ci='composer install'
alias cu='composer update'
alias composer.phar='composer'
alias dibsci='dibs && ci'
alias dibscu='dibs && cu'
alias gtree='git log --graph --pretty=oneline --abbrev-commit --all'
alias gpru='gpru'
alias gsu='git submodule update'
alias gb='git branch'
alias gs='git status'
# in ~/.bashrc:
alias prettygit='prettygit'
alias ga='gitadd'
alias gd='gitdiff'
alias gp='gitpatch'
alias gco='gitcheckout'
alias glog='gitlog'
alias gcon='gitconflict'
# scp -i ~/.vagrant.d/insecure_private_key -P 2222 ~/Downloads/devbox.intranet-storefronts.conf root@localhost:/data/configuration/
# phpunit command setup
# ./bin/phpunit --exclude-group mock-server,xdebug,smtp --testdox --group SearchStrings -c ./1stdibs/dibslibs/phpunit.xml
function gpru() {
if [ $# -eq 0 ]; then
echo "You must pass in a branch name"
else
git pull --rebase upstream $1
fi
}