自分のための備忘録。
goが必要。
~$ go get github.com/motemen/ghq
~$ ghq get https://github.com/honeniq/dotfiles
~/.ghq/github.com/honeniq/dotfiles
に入る。
~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/.config/fish ~/.config/
ubuntuの場合。
~$ sudo apt-add-repository ppa:fish-shell/release-2
~$ sudo apt-get update
~$ sudo apt-get install fish
~$ curl -Lo ~/.config/fish/functions/fisher.fish --create-dirs https://git.io/fisher
~$ fish
~$ fisher update
Debian Manpageのfile-hierarchy(7)によると、systemdを使っているディストリビューションでは~/.local/bin
にもPATHが通るものらしい。
ホームディレクトリ配下で遠慮なく触れるので、ここに置くようにしてみる。
~$ ghq get simonwhitaker/gibo
~$ ln -s ~/.ghq/github.com/simonwhitaker/gibo/gibo ~/.local/bin/
~$ curl -sL https://gist.githubusercontent.com/honeniq/013142abe39ff5b485b242e4691ed903/raw/8111c00ba0296634ae516331a240a8fcb8d9cbdd/install_peco.sh | sh
honeniq/install_peco.sh
peco
のリリース版から実行ファイルだけを抜き出して~/.local/bin/
に入れる。
~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/nvim/init.vim ~/.vimrc
~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/nvim/dein.toml ~/.config/vim/
~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/nvim/ ~/.config/nvim
~$ pip3 install neovim
UpdateRemotePlugins
を実行する。
deinを導入する。
~$ curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
~$ sh ./installer.sh ~/.cache/dein
Vimを立ち上げるとプラグインのインストールが始まる。
~$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv
rbenv rehash
とかはfishのプラグインがやってくれる。
~$ git clone https://github.com/rbenv/ruby-build.git (eval "rbenv root")/plugins/ruby-build
~$ git clone https://github.com/ianheggie/rbenv-binstubs.git (eval "rbenv root")/plugins/rbenv-binstubs