ãåãåãã åºåæ²è¼ã»ã¡ãã£ã¢ç´¹ä»ãªã©ã®ãåãåããã¯ãä¸è¨ã®ã¡ã¼ã«ã¢ãã¬ã¹ã¾ã§ãé¡ããããã¾ãã tactsh(at)gmail.com
ãåãåãã åºåæ²è¼ã»ã¡ãã£ã¢ç´¹ä»ãªã©ã®ãåãåããã¯ãä¸è¨ã®ã¡ã¼ã«ã¢ãã¬ã¹ã¾ã§ãé¡ããããã¾ãã tactsh(at)gmail.com
å ¨ç¶ZSHã®ä»çµã¿ãç¥ããªãã£ãã¨ããããã話ã§ãã æ å¼±ãªã®ã§èªåã®zshãã©ãããPATHãèªãã§ãã®ãåãã£ã¦ãªãâ Pasta-K/ShutoMorii (@pastak) 2014, 2æ 20 zshãPATHãè¤æ°åèªãã§ããæ°ãããâ Pasta-K/ShutoMorii (@pastak) 2014, 2æ 20 echo $PATHããã¨å 容ãéè¤ãã¦ãâ Pasta-K/ShutoMorii (@pastak) 2014, 2æ 20 @FromAtom 確èªãã¾ãããï¼ã¤ã§ãããâ Pasta-K/ShutoMorii (@pastak) 2014, 2æ 20 ãããããã£ã¨ãphpenvãä¸æã使ããªãã¦ããããã¨æã£ã¦ãã ãã¤ããããã©ã«ãã®phpãèµ·åããã®ã§ãæ¯å$ ~/.phpenv/shims/php hoge.phpã¨ãã£ã¦ãã¦ãããã絶対ãããã
ããã¯ã¿ã¼ããã«ãã«ããã¬ã¯ãµAdvent Calendarã®21æ¥ç®ã§ãã20æ¥ç®ã¯id:tmatsuuã®æè¿ã®byobuã®ååã«ã¤ãã¦ã§ãããã¤ã¾ãé£ãã£ã³ã§ãã screenãtmuxã«ã¯ãããããã¯ãªãã¯ãã¼ãã«ç¸å½ãããããã¡ã¨ããæ©è½ãããã¾ããé常ã¯screenãtmuxã®ä¸ã§å®çµããæ©è½ã§ãããããããèªã¿è¾¼ã¿/æ¸ãåºããã§ããã®ã§ãXã®ã¯ãªãããã¼ããOS Xã®ãã¼ã¹ããã¼ãã¨é£æºãããã¨ãå¯è½ã§ãã ããã§ã¯ãåç°å¢ã¨tmuxãé£æºããæ¹æ³ãç´¹ä»ãã¾ãã Linuxãªã©ã®Xç°å¢ã®ã¯ãªãããã¼ãã¨tmuxãé£æºããæ¹æ³ xclipã³ãã³ãã使ããã¨ã§ç°¡åã«é£æºãããã¨ãã§ãã¾ãã bind-key C-c run "tmux save-buffer - | xcopy -i" bind-key C-v run "xcopy -o | tmux load-buffer -
screen ãã tmux ã«ä¹ãæãã¦2ã¶æã»ã©ç«ã¡ã¾ãããä¸ä¾¿ãªãã¨ã4ã¤ããã¾ããã copy ããæååãç´æ¥ãã¡ã¤ã«ãããã°ã©ã ã«æ¸¡ããªã 2ã¹ããã¼ã¯ã® key bind ãå®ç¾©ã§ããªã cdd ãåããªã copy mode ã§1è¡ã³ãã¼ããªã (1), (2) ã¯æªã ã«æªè§£æ±ºã§ããã (3) 㯠ãcdd ã tmux, bash, multi session +α ã«å¯¾å¿ãããã§è§£æ±ºã ä»åã¯å æ¥è§£æ±ºãã (4) ã«ã¤ãã¦æ¸ããã¨æãã¾ãã å æ¥ .tmux.conf ãæ´çããã㨠man tmux ãçºãã¦ãããã§ãããã©ããããã³ãããã¦ãã begin-selection ã copy-selection ã man ã«è¼ã£ã¦ãªããã¨ã«æ°ã¥ãã¾ãããã©ããã key-table ãæå®ããéã«ä½¿ç¨å¯è½ãªã³ãã³ãã¯åºæ¬çã«è¼ã£ã¦ããªãããã§ãã ããã§ã½ã¼ã¹ãæ¤ç´¢
éãè °ãä¸ãã¦ã¤ãã«Lionã«ã¢ãããã¼ãããã£ãããªã®ã§è¨å®å¨ããã¡ãã£ã¨è¦ç´ãããããã§ããããããã®æ¥è¨ãåèã«è¨å®ããã¦ãããã ããã©ãããããããã·ã§ã¼ãã«ããåºæ¥ããããªã®ã§ãã®æé ãã°ã tmuxã®ã¤ã³ã¹ãã¼ã« ä½ã¯ã¨ãããtmuxã®ã¤ã³ã¹ãã¼ã« $ brew install tmux reattach-to-user-namespaceã®ã¤ã³ã¹ãã¼ã« ã©ããä»ã¯Homebrewã§ç¨æããã¦ããããªã®ã§ããã¡ããããã£ã¨å ¥ããããã $ brew install reattach-to-user-namespace .tmux.confã®ç·¨é ãã¨ã¯âã.tmux.confã«æ¸ãã ãã ç´ æ´ãªçå viãã¤ã³ãã§ã³ãã¼ã¢ã¼ãæã«é¸æã¢ã¼ãã«å ¥ãã«ã¯Spaceãªãã ãã©ãããvã«å½ã¦ãæ¹æ³ãªãã®ããªãï¼ viãã¤ã³ãæã®ã³ãã³ãããã«ããã«ãããæ¹æ³ãåãããã»ã»ã»ã
ããã«ã¡ããåµåè ãã¨ããããã§ãã家買ãã¾ããã ãã¦ãæè¿ãããªã¾ã¨ãã話é¡ã«ãªãã¾ãããèªåãã³ã¡ã³ããã¾ãããããããæ å ±éã«ãªã£ã¦ã¾ãã ããç¥ããªãããã°ã©ãã£ã¦æãã¦ããªã£ã¦æãæ±ç¨çãªãã¼ã« #JavaScript #PHP #Ruby #Python #HTML - Qiita ãã¾ã¨ããããç¥ããªãããã°ã©ãã£ã¦æãã¦ããªã£ã¦æãæ±ç¨çãªãã¼ã« 100è¶ #PHP #JavaScript #Python #Ruby #HTML - Qiita ã§ãèªåã®ã³ã¡ã³ãã«ãæ¸ããã®ã ãã©ãåºæ¬çã«ä»äºã¯ã¿ã¼ããã«ã§sshæ¥ç¶ãã¦ãVimã§ã³ã¼ãæ¸ãã¦ãã®ã§ããã®è¾ºã®ç°å¢æ§ç¯ã«ã¤ãã¦ã¾ã¨ãã¦ã¿ããæè¿Terminal.appããiTerm2ã«ç§»è¡ãã¦ãscreenããtmuxã«ä¹ãæããã®ã§ããã®è¾ºãå«ãã¦å°å ¥æ¹æ³ãæ¸ãã¦ããã æå ã®ç«¯æ«ã¯MBPã§OSX Lionã ãã©ãã»ã¼å
Linuxãªããã®ç«¯æ«ã¨ãã¥ã¬ã¼ã¿ã ã¨tmuxã®è¨å®ã ãã§ç«¯æ«ãã¹ã¯ãã¼ã«ã§ããããã ãMacã®Terminalã¯ãã©ã°ã¤ã³ãããã¦ãããªãã¨ã§ããªããããã ã¾ããã¨ãããã$HOME/.tmux.confã«ã¯set-window-option -g mode-mouse on set -g terminal-overrides 'xterm*:smcup@:rmcup@'ã追å ããã ã§ãå¤åKonsoleã¨ãLXTerminalã®ãããªLinux端æ«ã§ã¯ããã ãã§ãï½ã ã¨æãã Macã®å ´åã¯ä»¥ä¸ã®ä½æ¥ãå¿ è¦ã https://bitheap.org/mouseterm/ ããMouseTermãDLããã ã§ãdmgããã¦ã³ããã¦ä¸ã®ã¤ã³ã¹ãã¼ã«ã¹ã¯ãªãããå®è¡ããã°ãï½ Terminalãåèµ·åãããå¤åã§ããã(ã§ããªãã£ããOSã®rebootãå¿ è¦ãã...) ã¨ãããããã¡
ããã©ã«ãã ã¨åããªãã®ã§ãªããå¤ãªã©ããã¼ãæãã®ãã¹ã¿ã³ãã¼ããªæ¹æ³ã¿ããã§ããããã¾ã«ãã使ããªãã®ã«ãããªç¡é§ãªãã¨ããããªãã¨ã # tmux if [[ "$TMUX" != "" ]] then alias pbcopy="ssh 127.0.0.1 pbcopy" alias pbpaste="ssh 127.0.0.1 pbpaste" fi ã¨ãã¦ãã®ãã§ãããåã®ä½¿ç¨é »åº¦ã ã¨ããã§ååã½ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}