slim
[from now] 2012/07/10 04:47:37

diff --git a/.ghci b/.ghci
deleted file mode 100644
index ed80f4f..0000000
--- a/.ghci
+++ /dev/null
@@ -1,27 +0,0 @@
-let { redir varcmd = case break Data.Char.isSpace varcmd of { (var,_:cmd) -> return $ unlines [":set -fno-print-bind-result","tmp <- System.Directory.getTemporaryDirectory","(f,h) <- System.IO.openTempFile tmp \"ghci\"","sto <- GHC.Handle.hDuplicate System.IO.stdout","GHC.Handle.hDuplicateTo h System.IO.stdout","System.IO.hClose h",cmd,"GHC.Handle.hDuplicateTo sto System.IO.stdout","let readFileNow f = readFile f >>= \\t->length t `seq` return t",var++" <- readFileNow f","System.Directory.removeFile f"]; _ -> return "putStrLn \"usage: :redir <var> <cmd>\"" } }
-:def redir redir
--- End copied material
-
--- Integration with the hlint code style tool
-let hlint _ = return $ unlines [":set -w",    ":redir hlintvar1 :show modules", ":cmd return (\":! hlint \" ++ (concat $ Data.List.intersperse \" \" (map (fst . break (==',') . drop 2 . snd . break (== '(')) $ lines hlintvar1)))",    ":set -Wall"]
-:def hlint hlint
-
-:set prompt "GHCi> "
--- :set prompt "\033[32;1m%s\033[34;1m>\033[0m "
-:m - Prelude
-:m + GOA
-:m + System.IO.Unsafe
-setLambdabotHome "/Users/hiro/.cabal/bin"
-:def bs        lambdabot "botsnack"
-:def pl        lambdabot "pl"
-:def unpl      lambdabot "unpl"
-:def redo      lambdabot "redo"
-:def undo      lambdabot "undo"
-:def index     lambdabot "index"
-:def docs      lambdabot "docs"
-:def instances lambdabot "instances"
-:def hoogle    lambdabot "hoogle"
-:def source    lambdabot "fptools"
-:def where     lambdabot "where"
-:def version   lambdabot "version"
-:def src       lambdabot "src"
diff --git a/.profile b/.profile
index 9491c39..51dbc75 100644
--- a/.profile
+++ b/.profile
@@ -1,9 +1,15 @@
 alias vi='/Applications/MacVim.app/Contents/MacOS/Vim'
-export PATH="$HOME/.rbenv/bin:$HOME/.phpenv/bin:$PATH"
+PATH="/usr/local/share/python:/usr/local/share/python3:$PATH"
+PATH="$HOME/.cabal/bin:$PATH"
+PATH="$HOME/.rbenv/bin:$HOME/.phpenv/bin:$PATH"
+export PATH="$HOME/bin:$PATH"
 eval "`rbenv init -`"
 eval "`phpenv init -`"
+eval "`hub alias -s`"
 [ -f ~/.nvm/nvm.sh ] && source ~/.nvm/nvm.sh

+
+alias mongo='mongo work/js/underscore/underscore-min.js --shell'
 google(){ w3m "www.google.com/search?q=$*"; }
 yubnub(){ w3m "yubnub.org/parser/parse?command=$*"; }
 alc(){ w3m eow.alc.co.jp/"$*"/UTF-8/; }
diff --git a/.tigrc b/.tigrc
index 2023587..aaa5d91 100644
--- a/.tigrc
+++ b/.tigrc
@@ -38,7 +38,7 @@ bind main b view-branch
 bind main s view-status
 bind main S view-stage

-bind main r view-reflog
+#bind main r view-reflog
 #bind main r !!git reflog --color
 #bind main r !git reset %(commit)
 #bind main R !git reset --hard %(commit)
diff --git a/.vimrc b/.vimrc
index b7240e7..98ae2d8 100644
--- a/.vimrc
+++ b/.vimrc
@@ -166,9 +166,10 @@ endif
 "let g:ConqueTerm_FastMode=1

 "neocmplecache
-"if filereadable(expand('~/.vimrc.neocomplecache'))
-"	source ~/.vimrc.neocomplecache
-"endif
+if filereadable(expand('~/.vimrc.neocomplecache'))
+	source ~/.vimrc.neocomplecache
+endif
+

 "haskell-mode for vim
 let g:haddock_browser="open"
@@ -189,8 +190,8 @@ nnoremap <silent> <space>O :CommandT<CR>
 "nerdcommenter
 let g:NERDCreateDefaultMappings = 0
 let NERDSpaceDelims = 1
-nmap <space>/ <Plug>NERDCommenterToggle
-vmap <space>/ <Plug>NERDCommenterToggle
+nmap <C-_> <Plug>NERDCommenterToggle
+vmap <C-_> <Plug>NERDCommenterToggle

 "vim-altr
 nmap <Space>n <Plug>(altr-forward)
diff --git a/.vimrc.neocomplecache b/.vimrc.neocomplecache
index 456cad9..16d013c 100644
--- a/.vimrc.neocomplecache
+++ b/.vimrc.neocomplecache
@@ -37,9 +37,9 @@ imap <expr><TAB> neocomplcache#sources#snippets_complete#expandable() ? "\<Plug>
 " Recommended key-mappings.
 " <CR>: close popup and save indent.
 inoremap <expr><CR>  neocomplcache#smart_close_popup() . "\<CR>"
-" <TAB>: completion.
+"" <TAB>: completion.
 inoremap <expr><TAB>  pumvisible() ? "\<C-n>" : "\<TAB>"
-" <C-h>, <BS>: close popup and delete backword char.
+"" <C-h>, <BS>: close popup and delete backword char.
 inoremap <expr><C-h> neocomplcache#smart_close_popup()."\<C-h>"
 inoremap <expr><BS> neocomplcache#smart_close_popup()."\<C-h>"
 inoremap <expr><C-y>  neocomplcache#close_popup()
diff --git a/.vimrc.vundle b/.vimrc.vundle
index bc7cbea..87f6519 100644
--- a/.vimrc.vundle
+++ b/.vimrc.vundle
@@ -8,7 +8,7 @@ Bundle 'gmarik/vundle'
 " My Bundles here:
 "
 " original repos on github
-"Bundle 'Shougo/neocomplcache'
+Bundle 'Shougo/neocomplcache'
 Bundle 'ujihisa/neco-ghc'
 Bundle 'Shougo/unite.vim'
 Bundle 'Shougo/vimproc'
@@ -46,8 +46,8 @@ Bundle 'groenewege/vim-less'
 Bundle 'kana/vim-altr'
 "
 " vim-scripts repos
-Bundle 'YankRing.vim'
-Bundle 'AnsiEsc.vim'
+"Bundle 'YankRing.vim'
+"Bundle 'AnsiEsc.vim'
 "Bundle 'Conque-Shell'
 " non github repos
 " ...
diff --git a/.zshrc b/.zshrc
index 402eb72..755061a 100644
--- a/.zshrc
+++ b/.zshrc
@@ -26,14 +26,14 @@ CASE_SENSITIVE="true"
 # Example format: plugins=(rails git textmate ruby lighthouse)
 plugins=(git node npm rails3 gem osx perl ruby brew rvm bundler github pip django heroku)

-source ~/.zshrc.bakup
-#source $ZSH/oh-my-zsh.sh
+#source ~/.zshrc.bakup
+source $ZSH/oh-my-zsh.sh
 #
 ## Customize to your needs...
 ##
 #
-#source ~/.profile
-##source ~/auto-fu.zsh
+source ~/.profile
+source ~/auto-fu.zsh
 #
 #case ${UID} in
 #0)
hoge