dotfilesãgithubã§ç®¡çããï¼
dotfilesã¨ã¯
.vimrc ã¨ã .tmux.conf ã¨ã .screenrc ã¨ã .bashrc ã¨ã .zshrc ã¨ããã ãããããããè¨å®ãã¡ã¤ã«ã®é¡ã§ããããããã¾ã¨ãã¦githubã§ç®¡çããã¨ãã©ã®ç°å¢ã§ã git clone ããã ãã§åæãã¨ãã¦ããã便å©ã§ãã
ã¾ã
ã¶ã£ã¡ããããã ããªãããããªäººããã£ã¦ãã¾ããããããªäººã®ãåèã«ããã°ãããgithubã¸ã®ç»é²ã®ä»æ¹ã¨ãã¯èªåã§èª¿ã¹ã¦ãã ãããç°¡åã§ãã
yuroyoroããã¯ãããã£ã
ããã github 㧠dotfils ã管çããã¨ãã«ã·ã³ããªãã¯ãªã³ã¯ãèªåçã«è²¼ãã¹ã¯ãªããã使ãã¨ããçºæ³ã¯ãªãã£ããããã¯ãããã
iTerm2 + zsh + tmux + vim で快適な256色ターミナル環境を構築する - ( ꒪⌓꒪) ゆるよろ日記
ãã®ã¨ã³ããªã¯ããããªæå³ã§æå¼·ãããããããã«ããã¾ã§ã¯ã§ããªãâ¦â¦ããã©ã
- èªåçã«ã·ã³ããªãã¯ãªã³ã¯ãè²¼ã£ã¦ãã¾ã
ã¨ããã®ãã¨ã«ããããã楽ã ã
yuzuemonããã¯æ°ãããã¦ãã
ã·ã³ããªãã¯ãªã³ã¯ãè²¼ãã·ã§ã«ã¹ã¯ãªããã¯ããããã©ããããããã¡ãã£ã¨ç¢ºè¨¼ãã¦ã
ボク式dotfiles - ゆず日記
ãªãã»ã©ãæ¢ã«ãã¡ã¤ã«ãåå¨ãããã§æ¡ä»¶åå²ããã®ã
ããããã£ã¦ã¿ã
ã¡ãã£ã¨æ¹è¯ããã
#!/bin/bash DOT_FILES=( .vimrc .tmux.conf .bashrc) for file in ${DOT_FILES[@]} do if [ -a $HOME/$file ]; then ln -s $HOME/dotfiles/$file $HOME/$file.dot echo "ãã¡ã¤ã«ãåå¨ãã¾ããã.dotãã¡ã¤ã«ã¤ããã: $file" else ln -s $HOME/dotfiles/$file $HOME/$file echo "ã·ã³ããªãã¯ãªã³ã¯ãè²¼ãã¾ãã: $file" fi done
æ¢ã«ãã¡ã¤ã«ãåå¨ããå ´å㯠.file.dot ã¨ããã®ãä½æãã¾ããããã ãã ã¨éªéã£ã½ããã©ãUbuntuã¿ããã«æ¢ã«ããã©ã«ã㧠.bashrc ãªã©ãåå¨ãã¦ããã¨ãã«ä¸æ¸ããã¦æ¶ãããã«ããããªãã®ã§ããã ãã .dot ãã¡ã¤ã«ãçæãã¾ããããã§
cat .bashrc.dot >> .bashrc
ã¨ããã£ã¦ãããã¨ã§è¿½è¨ã§ããããã§ããï¼
ãã£ã¦ã¿ãçµæ
è¤æ°ç°å¢ã§ã®éç¨ã楽ãããWindowsã§ã¯CygwinãMacãããããã®Linuxã§ã©ãã§ãgitããããã°ããã§åæã§ãã¾ãï¼ããï¼ã£ã¦ãã¤ã§ãï¼
ã¡ãªã¿ã«
ããã® dotfiles 㯠github ã«ããã¾ã
.vimrcã¨ãå
¨è¬çã«ã³ã¡ã³ããå¤ãã«ã¤ãã¦ã¿ãã¤ãããªã®ã§ãè¯ãã£ããåèã«ãã¦ãã ãã