Skip to content

Commit

Permalink
added .zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
kn1cht committed Jun 20, 2016
1 parent 9558e8c commit 7888d12
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .bashrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PATH="$PATH":/Users/RYK6U0327/isrb2
export PATH="$PATH:"/Applications/microchip/xc8/v1.35/bin""
alias vv="g++ --std=c++11 -O2 -Wall"
alias ls='ls -G'
export PATH="$PATH:"/Applications/microchip/xc8/v1.35/bin""
export PATH=$PATH:/usr/local/share/git-core/contrib/diff-highlight
9 changes: 9 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ set tabstop=4
set whichwrap=b,s,h,l,<,>,[,]
autocmd BufWritePre * :%s/\s\+$//ge
autocmd BufWritePre * :%s/\t/ /ge

"---------------------------------------------------------------------------
" history
if !isdirectory(expand("~/.vim/backupdir/"))
Expand Down Expand Up @@ -54,6 +55,14 @@ noremap H 3h
noremap J 3j
noremap K 3k
noremap L 3l
" F5キーでコンパイル
command! C call s:C()
nmap <F5> :C<CR>
function! s:C()
:w
:!g++ --std=c++11 -O2 -Wall % -o X
:endfunction
"---------------------------------------------------------------------------

" http://inari.hatenablog.com/entry/2014/05/05/231307
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

DOT_FILES=(.bashrc .bash_profile .vimrc)
DOT_FILES=(.bashrc .bash_profile .vimrc .zshrc)

for file in ${DOT_FILES[@]}
do
Expand Down

0 comments on commit 7888d12

Please sign in to comment.