Code Monkey home page Code Monkey logo

dotfiles's Introduction

dotfiles使い方

自分のための備忘録。

dotfiles

ghq入れる

goが必要。

~$ go get github.com/motemen/ghq

dotfilesをgetする

~$ ghq get https://github.com/honeniq/dotfiles

~/.ghq/github.com/honeniq/dotfilesに入る。

fish環境

.config/fish にリンク

~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/.config/fish ~/.config/

fish shell インストール

ubuntuの場合。

~$ sudo apt-add-repository ppa:fish-shell/release-2
~$ sudo apt-get update
~$ sudo apt-get install fish

fisherman

~$ 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が通るものらしい。 ホームディレクトリ配下で遠慮なく触れるので、ここに置くようにしてみる。

gibo

~$ ghq get simonwhitaker/gibo
~$ ln -s ~/.ghq/github.com/simonwhitaker/gibo/gibo ~/.local/bin/

peco

~$ curl -sL https://gist.githubusercontent.com/honeniq/013142abe39ff5b485b242e4691ed903/raw/8111c00ba0296634ae516331a240a8fcb8d9cbdd/install_peco.sh | sh

honeniq/install_peco.sh pecoのリリース版から実行ファイルだけを抜き出して~/.local/bin/に入れる。

Vim関係

vimリンク作成

~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/nvim/init.vim ~/.vimrc
~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/nvim/dein.toml ~/.config/vim/

Neovimリンク作成

~$ ln -s ~/.ghq/github.com/honeniq/dotfiles/nvim/ ~/.config/nvim

Python3のneovimを入れる

~$ pip3 install neovim

初回起動時

UpdateRemotePluginsを実行する。

dein

deinを導入する。

~$ curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh 
~$ sh ./installer.sh ~/.cache/dein

プラグインのインストール

Vimを立ち上げるとプラグインのインストールが始まる。

Ruby関係

rbenv

~$ git clone https://github.com/rbenv/rbenv.git ~/.rbenv

rbenv rehashとかはfishのプラグインがやってくれる。

ruby-build

~$ git clone https://github.com/rbenv/ruby-build.git (eval "rbenv root")/plugins/ruby-build

rbenv-binstubs

~$ git clone https://github.com/ianheggie/rbenv-binstubs.git (eval "rbenv root")/plugins/rbenv-binstubs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.