LoginSignup
2
0

More than 5 years have passed since last update.

忘れがちなdotfilesの管理

Last updated at Posted at 2019-04-11

新しいPCを使用開始する際にdotfilesを持ってこようとすると大体やり方を忘れているのでメモ

対象ユーザー

  • Mac利用者
  • fish使用者

手順

01. homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

02. fish

brew install fish
# fishのパスを加える
sudo vim /etc/shells
chsh -s `which fish`

以下fish上で作業

03. fisherman

curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish

04. dot

git clone https://github.com/ssh0/dot $HOME/.zsh/dot
fisher add re3turn/fish-dot

リポジトリを設定する

set -x DOT_REPO <your dotfiles repository>
dot clone
# おそらく~/.config/fish辺りを上書きするか聞かれるがreplaceを選択して良い
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0