Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ドットファイルの整理

  • Loading branch information...
commit 43d40ad0d30d2a88bc0f6506a8150a2ca6dd1088 1 parent de148f9
@tmsanrinsha authored
View
4 .bash_profile
@@ -6,6 +6,10 @@ elif which zsh 1>/dev/null 2>&1; then
exec zsh -l
fi
+if [ -f ~/.zash_profile ]; then
+ . ~/.zash_profile
+fi
+
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
View
38 setup.sh
@@ -1,38 +0,0 @@
-#!/usr/bin/env bash
-
-# dotfilesにリンクを貼る
-find `pwd` -type d -name '.git' -prune -o -type f -regex ".*/\..*" -print | xargs -I{} ln -v {} $HOME
-
-[ ! -d ~/bin ] && mkdir ~/bin
-# 実行ファイルにリンクを貼る
-find `pwd`/bin -maxdepth 1 -type f | xargs -I{} ln -v {} $HOME/bin
-
-# http://betterthangrep.com/
-if [ ! -x ~/bin/ack ];then
- curl http://betterthangrep.com/ack-standalone > ~/bin/ack
- chmod a+x ~/bin/ack
-fi
-
-[ ! -d ~/bin/pseudo ] && mkdir ~/bin/pseudo
-
-# http://d.hatena.ne.jp/hnw/20120602
-# https://github.com/hnw/fakegit
-if [ ! -x ~/bin/pseudo/git ];then
- curl -L https://raw.github.com/hnw/fakegit/master/bin/fakegit > ~/bin/pseudo/git
- chmod a+x $HOME/bin/pseudo/git
-fi
-
-if [ ! -d ~/.vim/bundle/neobundle.vim ] && which git 1>/dev/null 2>&1;then
- mkdir -p ~/.vim/bundle
- git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
-fi
-
-if [[ `uname` = CYGWIN* ]]; then
- [ ! -d ~/bin/cygwin ] && mkdir -p ~/bin/cygwin
- if [ ! -x ~/bin/cygwin/ln ]; then
- curl -L https://raw.github.com/tmsanrinsha/dotfiles/master/bin/cygwin/ln > ~/bin/cygwin/ln
- chmod a+x ~/bin/cygwin/ln
- fi
-fi
-
-. ~/.bash_profile
View
0  inst_mercurial.sh → setup/inst_mercurial.sh
File renamed without changes
View
0  inst_screen.sh → setup/inst_screen.sh
File renamed without changes
View
0  inst_tmux.sh → setup/inst_tmux.sh
File renamed without changes
View
0  inst_vim.sh → setup/inst_vim.sh
File renamed without changes
View
0  inst_zsh.sh → setup/inst_zsh.sh
File renamed without changes
View
44 vimPluginInstaller.sh
@@ -1,44 +0,0 @@
-#!/usr/local/bin/bash -x
-## vimのpluginをインストールする
-# 後半はgitが必要。gitのダウンロード先は~/git
-
-cd ~/.vim/plugin || exit 1
-
-# sudo.vimのインストール
-# root権限でファイルを保存できる
-# http://sanrinsha.lolipop.jp/blog/2012/01/sudo-vim.html
-if [ ! -f ~/.vim/plugin/sudo.vim ]; then
- curl -o sudo.vim "http://www.vim.org/scripts/download_script.php?src_id=3477"
-fi
-
-# buftabs.vimのインストール
-if [ ! -f ~/.vim/plugin/buftabs.vim ]; then
- curl -o buftabs.vim "http://www.vim.org/scripts/download_script.php?src_id=15439"
-fi
-
-# カラー表示化されたmru.vimのインストール
-# https://sites.google.com/site/fudist/Home/modify
-# if [ ! -f ~/.vim/plugin/mru.vim ]; then
-# curl -o mru.vim "http://www.vim.org/scripts/download_script.php?src_id=11919"
-# curl -Lo mru.patch "https://sites.google.com/site/fudist/files/mru.patch?attredirects=0"
-# patch -p0 < mru.patch
-# fi
-
-# yankring.vimのインストール
-# 何故か失敗
-#if [ ! -f ~/.vim/plugin/yankring.vim ]; then
-# cd ~/.vim
-# curl -vO yankring.zip "http://www.vim.org/scripts/download_script.php?src_id=16536" | exit 1
-# unzip yankring.zip | exit 1
-# rm yankring.zip | exit 1
-#fi
-
-# ここからgitが必要
-
-# emacscommandline
-# コマンドモードをemacsのキーバインドで操作するプラグイン
-if [ ! -f ~/.vim/plugin/emacscommandline.vim ]; then
- cd ~/git || exit 1
- git clone git://github.com/houtsnip/vim-emacscommandline.git || exit 1
- cp -r vim-emacscommandline/* ~/.vim || exit 1
-fi
Please sign in to comment.
Something went wrong with that request. Please try again.