Skip to content

Commit 0ebbc44

Browse files
committed
moo
1 parent 7858e48 commit 0ebbc44

4 files changed

Lines changed: 15 additions & 8 deletions

File tree

.bashrc

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@ function ddiff() {
8686
git diff `git merge-base upstream/dev HEAD`..HEAD
8787
}
8888

89-
# Log of everything on this braynch
90-
function dlog() {
91-
git log -p `git merge-base origin/master HEAD`..HEAD
92-
}
93-
9489
function recent-branches() {
9590
local branches=`git for-each-ref --sort=-committerdate refs/heads/ | head -n 10`
9691
local output=''
@@ -265,6 +260,13 @@ if [ -f ~/.git-completion.bash ]; then
265260
. ~/.git-completion.bash
266261
fi
267262

263+
# Docker logs for conatiner with name
264+
dlog() {
265+
local cid=`docker ps | grep $1 | awk '{print $1}'`
266+
echo "docker logs -f ${cid}"
267+
docker logs -f ${cid}
268+
}
269+
268270
alias here='open .'
269271

270272
# ln -s /Applications/MacVim.app/Contents/bin/mvim /usr/local/bin/mvim
@@ -1157,5 +1159,8 @@ pathadd /Users/aray/miniconda3/bin:$PATH
11571159
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
11581160

11591161
# For docker builds
1160-
export GITHUB_PRIVATE_KEY="$(cat /Users/aray/.ssh/docker_gr_rsa)"
1162+
DOCKER_KEY="${HOME}/.ssh/docker_gr_rsa"
1163+
if [ -a "$DOCKER_KEY" ]; then
1164+
export GITHUB_PRIVATE_KEY="$(cat $DOCKER_KEY)"
1165+
fi
11611166

.haskeline

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
editMode: Vi

.vimrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ function! TextEnableCodeSnip(filetype,start,end,textSnipHl) abort
489489
endfunction
490490

491491
call TextEnableCodeSnip('ruby', '@begin=ruby@', '@end=ruby@', 'SpecialComment')
492+
call TextEnableCodeSnip('glsl', '@begin=glsl@', '@end=glsl@', 'SpecialComment')
492493

493494

494495
"------------------------------------------------------------------------------
@@ -1046,7 +1047,7 @@ augroup END
10461047
" =============================================================================
10471048

10481049

1049-
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'json', 'javascript', 'ruby']
1050+
let g:markdown_fenced_languages = ['html', 'python', 'bash=sh', 'json', 'javascript', 'ruby', 'glsl']
10501051

10511052
" To refresh the list of plugins installed, uncomment the line below and hit
10521053
" command-E on it (see the <d-e> mapping in this file

code/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"eslint.enable": true,
55
"javascript.validate.enable": false,
66
"editor.rulers": [80],
7-
"window.zoomLevel": 0,
7+
"window.zoomLevel": 1,
88
"files.exclude": {
99
"**/.DS_Store": true,
1010
"**/.git": true,

0 commit comments

Comments
 (0)