Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ziwon committed Jan 24, 2019
1 parent 39fc8a7 commit b1e60fe
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 13 deletions.
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ brew 'kafkacat'
brew 'iftop'
brew 'jq'
brew 'kubernetes-helm'
brew 'node'
brew 'nmap'
brew 'neovim'
brew 'make'
Expand Down
2 changes: 1 addition & 1 deletion bash/.aliases
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,5 @@ alias reload="exec ${SHELL} -l"
# Print each PATH entry on a separate line
alias path='echo -e ${PATH//:/\\n}'

# Get howto from stackoverflow
# Search howto in stackoverflow
alias s='howdoi $1 -c -n "${2:-10}"'
14 changes: 8 additions & 6 deletions git/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
precomposeunicode = true
untrackedCache = true
whitespace = space-before-tab,-indent-with-non-tab,trailing-space
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
Expand All @@ -33,19 +35,19 @@
added = yellow
changed = green
untracked = cyan
[apply]
whitespace = fix
[log]
date = iso8601
[color]
ui = auto
[diff]
renames = copies
tool = vimdiff
[diff "bin"]
textconv = hexdump -v -C
[difftool]
prompt = false
[diff-so-fancy]
stripLeadingSymbols = false
[apply]
whitespace = fix
[log]
date = iso8601
[fetch]
prune = true
[branch]
Expand Down
4 changes: 4 additions & 0 deletions node/init
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/env/bin bash

npm install -g typescript
npm install -g neovim
8 changes: 5 additions & 3 deletions nvim/init
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ cd "$(dirname "${BASH_SOURCE}")";

mkdir -p ~/.config/nvim

curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
if [ ! -f ~/.local/share/nvim/site/autoload/plug.vim ]; then
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
fi

rsync ./init.vim ~/.config/nvim/init.vim;
rsync init.vim ~/.config/nvim/init.vim;
4 changes: 2 additions & 2 deletions nvim/init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ set updatetime=100 " redraw the status bar often
" neovim specific settings
if has('nvim')
" pip3.6 install -U neovim
let g:python_host_prog = '/Users/luno/.pyenv/versions/neovim2/bin/python'
let g:python3_host_prog = '/Users/luno/.pyenv/versions/neovim3/bin/python'
let g:python_host_prog = $HOME . '/.pyenv/versions/neovim2/bin/python'
let g:python3_host_prog = $HOME . '/.pyenv/versions/neovim3/bin/python'
endif

" Enable mouse if possible
Expand Down
2 changes: 1 addition & 1 deletion zsh/.aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,5 @@ alias reload="exec ${SHELL} -l"
# Print each PATH entry on a separate line
alias path='echo -e ${PATH//:/\\n}'

# Get howto from stackoverflow
# Search howto in stackoverflow
alias s='howdoi $1 -c -n "${2:-10}"'

0 comments on commit b1e60fe

Please sign in to comment.