Skip to content

Instantly share code, notes, and snippets.

@akiradeveloper
Created August 16, 2012 13:27
Show Gist options
  • Save akiradeveloper/3370072 to your computer and use it in GitHub Desktop.
Save akiradeveloper/3370072 to your computer and use it in GitHub Desktop.
僕のdotfiles設計
* srcからbuildにerbを使って変換をする. proxy設定などの差異もここで吸収される(家ではプロキシなんかないけど会社だとあったりするし, 部署によって設定は違う). buildとpre-buildから, $HOME以下にシンボリックリンクが張られる.
* ふつうは.vim/bundleにプラグインを入れていくのだろうけど, 敢えて.vimbundleにしている. これは, このdotfilesをパージして入れ直すなどした時にプラグインも入れ直すのが嫌だから. SSDが傷つくのが嫌だから.
https://github.com/akiradeveloper/dotfiles
akira@Paptimus> cat .dotfiles.conf ~/dotfiles
export BEHIND_PROXY=0
export PROXY_IP=192.168.0.1
export PROXY_PORT=8080
export REQUIRE_AUTH=0
export PROXY_ID=linux
export PROXY_PASSWD=1991
akira@Paptimus> tree -a root user ~/dotfiles
root
├── build
│   └── etc
│   └── apt
│   └── apt.conf
├── pre-build
└── src
└── etc
└── apt
└── apt.conf
user
├── build
│   ├── bin
│   │   └── git-proxy
│   ├── .curlrc
│   ├── .gitconfig
│   ├── .ssh
│   │   ├── .authorize
│   │   └── config
│   └── .wgetrc
├── pre-build
│   ├── .bash_profile
│   ├── .bashrc
│   ├── .ghci
│   ├── .inputrc
│   ├── .profile.d
│   │   ├── add_binpath.sh
│   │   ├── proxy.sh
│   │   └── zsh_activation
│   ├── .profile.generic
│   ├── .rc.generic
│   ├── .screenrc
│   ├── .tmux.conf
│   ├── .vim
│   │   ├── after
│   │   │   ├── ftplugin
│   │   │   │   ├── haskell.vim
│   │   │   │   └── ruby.vim
│   │   │   ├── indent
│   │   │   └── plugin
│   │   │   └── vimrc.vim
│   │   ├── ftplugin
│   │   │   ├── haskell.vim
│   │   │   ├── markdown.vim
│   │   │   └── ruby.vim
│   │   ├── indent
│   │   │   ├── c.vim
│   │   │   ├── haskell.vim
│   │   │   ├── make.vim
│   │   │   ├── python.vim
│   │   │   ├── ruby.vim
│   │   │   ├── sh.vim
│   │   │   └── vim.vim
│   │   └── plugin
│   │   └── vimrc.vim
│   ├── .vimrc
│   ├── .xsession
│   ├── .zsh
│   │   ├── .zcompdump
│   │   ├── .zprofile
│   │   └── .zshrc
│   └── .zshenv
└── src
├── bin
│   └── git-proxy
├── .curlrc
├── .gitconfig
├── .ssh
│   ├── .authorize
│   └── config
└── .wgetrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment