File tree 4 files changed +15
-2
lines changed
4 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 14
14
wtf = !$ZSH/bin/git-wtf
15
15
rank-contributors = !$ZSH/bin/git-rank-contributors
16
16
count = !git shortlog -sn
17
+ d = difftool
17
18
[color]
18
19
diff = auto
19
20
status = auto
38
39
default = simple
39
40
[init]
40
41
templatedir = ~/.git-templates
42
+ [difftool "neovim"]
43
+ cmd = nvim -d \"$LOCAL\" \"$REMOTE\"
44
+ path =
41
45
[difftool "sourcetree"]
42
46
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
43
47
path =
44
48
[mergetool "sourcetree"]
45
49
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
46
50
trustExitCode = true
51
+ [diff]
52
+ tool = neovim
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ imap <C-b> <esc>:CtrlPCurWD<cr>
213
213
" Fat-fingered commands
214
214
" Courtesy of github.com/captainsafia
215
215
cnoreabbrev W! w !
216
+ cnoreabbrev E! e !
216
217
cnoreabbrev Q! q !
217
218
cnoreabbrev Qall! qall !
218
219
cnoreabbrev Wq wq
Original file line number Diff line number Diff line change 1
1
# Jump to backend directory
2
2
alias cdbe=" cd ~/src/bitbucket.org/senseye/backend"
3
3
4
+ # Jump to senseye dir.
5
+ alias cds=" cd ~/src/bitbucket.org/senseye"
6
+
4
7
# sets GOPATH to the current work directory
5
8
alias gohere=" export GOPATH=\` pwd\` ; echo \" GOPATH := '\$ GOPATH'\" ; PATH=\" $PATH :\$ GOPATH/bin\" ; echo \" PATH = \$ PATH\" "
6
9
7
10
# runs go test and shows code coverage when complete
8
11
alias gocover=" go test -coverprofile=coverage.out && go tool cover -html=coverage.out"
9
12
10
- # build and run docker-compose
11
- alias figit= " docker-compose build && docker-compose up "
13
+ # run make test three times and tell me when it's done
14
+ alias mt3= " make test && make test && make test; tada "
12
15
13
16
# prints out the greatest port number exposed in a docker-compose.yml across all services.
14
17
alias last_port=" find ${SENSEYE_BACKEND} -name 'fig.yml' -o -name 'docker-compose.yml' -exec cat {} \; | grep -E '\b5[0-9]+:[0-9]+' | sed -E 's/[^0-9]*([0-9]+):([0-9]+)[^0-9]*/\1/g' | sort -n | tail -1"
Original file line number Diff line number Diff line change @@ -46,3 +46,6 @@ DEFAULT_USER="rossmcf"
46
46
plugins=(git osx golang z colorize docker)
47
47
48
48
source $ZSH/oh-my-zsh.sh
49
+
50
+ autoload -U +X bashcompinit && bashcompinit
51
+ complete -o nospace -C /usr/local/bin/terraform terraform
You can’t perform that action at this time.
0 commit comments