ããããã®ã¿ã¼ããã«éçºç°å¢
ä¼ç¤¾ã®åæã§æ¯é±åå¼·ä¼ããã£ã¦ãã¦ãèªåãçºè¡¨ããçªã ã£ãã®ã§æè¿ä½¿ã£ã¦ãCLIãã¼ã«ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ãã
hub
ãã«ãªã¯ã¨ã¹ãä½æãªã©Githubä¸ã§ã®ä½æ¥ãã³ãã³ãã©ã¤ã³ãããä¼ç¤¾ã§ã¯GH:Eã§ãã«ãªã¯ãã¼ã¹ã®éçºã¹ã¿ã¤ã«ãªã®ã§æ¯æ¥ä½¿ã£ã¦ãããæè¿ã¯hubã®Goå®è£ ã§ghã¨ããã®ãããã¿ããã ãã©ããã£ã¡ã¯ã¾ã 試ãã¦ããªãã
GitHubã¦ã¼ã¶ã¼ã®ããã®hubã³ãã³ã - Qiita
tig
ã³ããããã°çã®é²è¦§ã楽ã«ãã¦ããããä»äºã§ã¯SourceTreeã使ã£ã¦ããã ãã©ããã£ã±ãã¡ã¤ã³ã®ä½æ¥ã¯ã¿ã¼ããã«ä¸ã ããlogã»diffã»stashããããgitã³ãã³ãããã¯ããã«è¦ãããã¦ææ¾ããªãã
~/.tigrc ã«ä»¥ä¸ã®ãããªè¨å®ããã¦ããã°ãhistoryã§é¸æãã¦ããcommitã®Githubãã¼ã¸ãããéããã¨ãã§ãã¦ä¾¿å©ã
tigã§è¦ã¦ããã³ããããgithubã§éã - Qiita
peco
peco/peco æè¿è©±é¡ãªpercolã®Goå®è£ ãä»ã¾ã§zawãå ¥ãã¦ä½¿ã£ã¦ããã ãã©ãpecoãpercolã¯ã·ã³ãã«ã«ãã¤ãã§æ¸¡ãããå ¥åãçµãè¾¼ãã®ã§æ±ç¨çãªã¤ã¡ã¼ã¸ã
èªåã¯ps
ã§åºããããã»ã¹ä¸è¦§ãpecoã§çµãè¾¼ãã§killããè¨å®ã¨ãå
¥ãã¦ããã
function peco-proc () { ps ax -o pid,lstart,command | peco --query "$LBUFFER" | awk '{print $1}' | xargs kill zle clear-screen } zle -N peco-proc bindkey '^x^p' peco-proc
- ghq + peco/percol - Tatsuhiko Miyagawa's blog
- pecoãå°å ¥ãã¦zshã®historyã«ä½¿ãããã«ãã - ãããªãã¤ã³ã¿ã¼ããã
tmuxinator
tmuxã®ã¦ã¤ã³ãã¦ã»ãã¤ã³æ§æãç¬æã«åç¾ã§ããã
ä»äºã§ã¯ã ãããtmuxã®ãã¤ã³ã3åå²ãã¦è¤æ°ã®ãªãã¸ããªrootãéãã¦ããã®ã§ã~/.tmuxinator/work.ymlã«ãããªè¨å®ãæ¸ãã¦ããã
name: work root: ~/ windows: - window1: layout: main-vertical panes: - cd ~/Documents/github/repo1 - cd ~/Documents/github/repo2 - cd ~/Documents/github/repo3
ãã¨ã¯mux work
ã§ãã¤ã³ãï¼åå²ããã¦ãããããã§ï¼ã¤ã®ãªãã¸ããªã«cdããç¶æ
ãåç¾ã§ããã
- #14 tmuxinatorã§éçºã»éç¨ã便å©ã« - rrreeeyyy.com
- Ruby - tmuxinatorã§ä¸ç¬ã§éçºç°å¢ãèµ·åãã - Qiita
ghq
Githubçããcloneãã¦ãããªãã¸ããªãæ軽ã«ç®¡çã§ããã
ghq get [email protected]:gin-gonic/gin.git
ã¿ããã«ããã¨ã`~/.ghq
ä¸ã«cloneãããªãã¸ããªãç½®ãã¦ããããghq list
ã¨ããã°cloneãããªãã¸ããªã®ä¸è¦§è¡¨ç¤ºãã§ããã®ã§ãpecoã«çµæããã¤ãããã°å¤§éã®ãªãã¸ããªãç´ æ©ãçµè¾¼ããï¼ï¼
~/Documents/github-repos
ã¨ãããã£ã¬ã¯ããªã®ã´ãã®å±±ããç®å½ã¦ã®ãªãã¸ããªãé å¼µã£ã¦æ¢ãã®ãæ¥å¸¸åãã¦ããã®ã§ããããå°å
¥ãã¦ãããæã£ã¦ãã
- ghq: ãªã¢ã¼ããªãã¸ããªã®ãã¼ã«ã«ã¯ãã¼ã³ãã·ã³ãã«ã«ç®¡çãã - è©©ã¨åµä½ã»æç´¢ã®ã²ãã° (Poetry, Writing and Contemplation)
- ghq + peco/percol - Tatsuhiko Miyagawa's blog
ããã
åå¼·ä¼ä»¥å¤ã§ãä¼ç¤¾ã§è©±ãã¦ãã¨ããµã ãã®ä½æ¥ãCUIç°å¢ã§ãã£ã¦ã¯ãããã ãã©Gitæä½ã¯gitã³ãã³ãã®ã¿ãã¨ãã人ãçµæ§å¤ãã£ãã®ã§æ å ±å½¹ã«ç«ã£ãã£ã½ãã
tig+hubãpeco+ghq.. ã¿ããã«CLIãã¼ã«ãè²ã å°å ¥ããã¨çµã¿åããã®ç¸ä¹å¹æãå¾ãããã®ãè¯ãã§ãã