Download incr-0.2.zsh ããä½ zsh ã§ã¤ã³ã¯ãªã¡ã³ã¿ã«ãªè£å®ãè¡ãã¹ã¯ãªããã 使ãæ¹ source incr*.zsh æ»ã y.fujii <y-fujii at mimosa-pudica.net>
git stash popå¿ããé ·ãã®ã§zshã®ããã³ããã«git stash listã®æ°ã表示ãããçµã¿è¾¼ãã ãzsh 㧠Git ã®ä½æ¥ã³ãã¼ã«å¤æ´ããããã©ãããããã³ããã«è¡¨ç¤ºããæ¹æ³ã¨åããã¦ãããªæãã«è¡¨ç¤ºããããã«ããã å ¨ç¶åãã£ã¦ãªãã¾ã¾é©å½ã«ç¶ã足ãã¾ããâ¦ã
ã filmlang.org ãã®ãã¼ã¸ã¯ããã¡ã¤ã³ãç¡å¹ãªç¶æ ã§ãã ã¦ã§ããµã¤ã管çè ã®æ¹ã¯ãã¡ãããå¤æ´ã»æ´æ°ãè¡ã£ã¦ãã ããã ã filmlang.org ãis Expired or Suspended. The WHOIS is here.
Tmuxå ã§ã³ãã³ããå®è¡ããéã«æ°ããã¦ã£ã³ãã¦ãã¦ã£ã³ãã¦ãåå²ãã¦å®è¡ãã Dec 3rd, 2011 | Comments æ¬è¨äºã¯ã¿ã¼ããã«ãã«ããã¬ã¯ãµ Advent Calendar 2011 : ATNDã®3æ¥ ç®ã§ãï¼2æ¥ç®ã¯tmuxã®join-paneããpaneã®æå®æ¹æ³ãå¦ã¶ (ã¿ã¼ãã ã«ãã«ããã¬ã¯ãµ Advent Calendar 2æ¥ç®) - kozo2ã®ã¯ã¦ãªãã¤ã¢ãªã¼ ã§ããï¼ tmuxã¨zshã使ã£ãå°ãã¿ã§ãï¼zsh以å¤ã®ã·ã§ã«ã§ãå¯è½ã ã¨æãã¾ãï¼ tmuxå ã§sshãå®è¡ããã¨æ°ããã¦ã£ã³ãã¦ãä½æãã¦ããã§å®è¡ãã tmuxå ã§manãå®è¡ããã¨ã¦ã£ã³ãã¦ãåå²ãã¦ããã§å®è¡ãã ~/.zshrcã«è¨å®ããã ãã§ãï¼ # tmuxã®ä¸ã§sshãå®è¡ããå ´åï¼æ°ããã¦ã£ã³ãã¦ãä½æãã if [ $TERM = screen ]; then fu
ã¯ã¦ãªã°ã«ã¼ãã®çµäºæ¥ã2020å¹´1æ31æ¥(é)ã«æ±ºå®ãã¾ãã 以ä¸ã®ã¨ã³ããªã®éããä»å¹´æ«ãç®å¦ã«ã¯ã¦ãªã°ã«ã¼ããçµäºäºå®ã§ããæ¨ããç¥ãããã¦ããã¾ããã 2019å¹´æ«ãç®å¦ã«ãã¯ã¦ãªã°ã«ã¼ãã®æä¾ãçµäºããäºå®ã§ã - ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãã®ãã³ãæ£å¼ã«çµäºæ¥ã決å®ãããã¾ããã®ã§ã以ä¸ã®éãã確èªãã ããã çµäºæ¥: 2020å¹´1æ31æ¥(é) ã¨ã¯ã¹ãã¼ãå¸æç³è«æé:2020å¹´1æ31æ¥(é) çµäºæ¥ä»¥éã¯ãã¯ã¦ãªã°ã«ã¼ãã®é²è¦§ããã³æ稿ã¯è¡ãã¾ãããæ¥è¨ã®ã¨ã¯ã¹ãã¼ããå¿ è¦ãªæ¹ã¯ä»¥ä¸ã®è¨äºã«ãããã£ã¦æç¶ãããã¦ãã ããã ã¯ã¦ãªã°ã«ã¼ãã«æ稿ãããæ¥è¨ãã¼ã¿ã®ã¨ã¯ã¹ãã¼ãã«ã¤ã㦠- ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ ãå©ç¨ã®ã¿ãªãã¾ã«ã¯ãè¿·æãããããããã¾ãããã©ãããããããé¡ããããã¾ãã 2020-06-25 è¿½è¨ ã¯ã¦ãªã°ã«ã¼ãæ¥è¨ã®ã¨ã¯ã¹ãã¼ããã¼ã¿ã¯2020å¹´2æ28
æè¿ oh-my-zsh ã£ã¦ã®ãããã£ã¦èãããã¤ã³ã¹ãã¼ã«ããã ã㧠zsh ã便å©ã«ãªãã¿ãããªã®ã§ãæ©é試ãã¦ã¿ãã oh-my-zsh ã£ã¦ä½? oh-my-zsh 㯠zsh ã®è¨å®ã管çãããã¬ã¼ã ã¯ã¼ã¯ã§ãããããªè¨å®ãæå¹ã«ãã¦ç®¡çãæ´æ°ã§ããããã«ãªããããã¸ã§ã¯ã㯠GitHub ã§ç®¡çããã¦ãã http://github.com/robbyrussell/oh-my-zsh ç¹å¾´ã¨ãã¦ãããªãã¨ãæãããã¦ãã 40以ä¸ã®ããã³ãã ãã¼ã 便å©ãªãã©ã°ã¤ã³ èªåã¢ãããã¼ãæ©è½ ã³ãã¥ããã£ä¸»ä½ã®éçº(ã¿ããªã®è¨å®ãåãè¾¼ãã§ãã) ã¤ã³ã¹ãã¼ã«ããã¨ãã ããããããªãã¨ãè¨å®ãããã ããã³ããããã£ããã(?)ãªã alias ããã£ã±ãè¨å®ããã ãã使ã option ãè¨å®ããã ã¤ã³ã¹ãã¼ã«ç´å¾ã¯ãããªæãã Git ã®ãã©ã³ãåã表示ãããã å¿ è¦
zshã«ãããgitã®è£å®é¢æ°ã®å®è£ ã¯ãã¾ãã¡ã§ãããzsh + git使ãã¯zshã®è£å®é¢æ°_gitãéãããã! ãã®2ã®ãããªå¯¾æçãè¬ããããgitã®ã¨ãã ãbashã使ãããã¦ãã¾ãããåã¯ä¸ææå¾è ã§ããã ãã¦gitã®tarballã«contrib/completion/git-completion.bashã¨ããã®ãããã®ã¯ãã£ã¼ããªgit使ããªããåç¥ãã¨æãã¾ããæ®å¿µãªãããã¡ã¤ã«åã®éãbashã§ãã使ãã¾ããã§ããããv1.7.4-rc0ã§zsh compatibleã«ãªãã¾ãã add the following lines to your .zshrc: autoload bashcompinit bashcompinit source ~/.git-completion.sh ã¨æ示éãã«.zshrcã«è¿½è¨ããã ãã§zshã§ãbashãªã¿ã®å¿«é©ãã§gitã使ã
[shell] ls ããã¡ã¾ãã人㸠- Bulknews::Subtech - subtech èªåã¯ããã¾ã ls æããªããã¨ããã®ã .tcshrc 㧠alias cwdcmd 'll' ã¨ãã¦ãã¦ããããã㨠cd ãããã³ã« ll ãåæã«å®è¡ããããããå¿ è¦ãªããzsh ã§ã©ãããã®ãã¯ãããªããã©ããã¶ãã§ããã§ãããã èªåã§ã¯zshãã¤ãã£ã¦ãããã以ä¸ã®è¨å®ããã¦ããã function cd() { builtin cd $@ && ls; }cd ãããã¨ã«lsãå®è¡ãããã è¿½è¨ ãã£ã¨ãä¸ã®ãã¤ã¯ã³ã¡ã³ãã¢ã¦ããã¦ãã»ã» function chpwd() { ls }ã©ã£ã¡ã§ããããã©ã 追è¨2 id:naoyaããã®ã³ã¡ã³ããã chpwd ãªã setopt auto_cd ã§ã ok ã½ ã¨ã®ãã¨ã ããããã(auto_cdã¤ãã£ã¦ãªããã»ã»ã»)ã
ç·ã®bashã¦ã¼ã¶ã¼ãããã©è²ã®ç´³å£«ãã¨æ¼¢ã®zshã«ä¹ãæããã¨ã㫠アッーã£ã¦ãªãã³ãäºãå ã»ã©ããã¤ãæãã¤ããã®ã§å ±æããã !!ã¨ãã®å±¥æ´å®è¡ã¯rã³ãã³ã㧠zshã«ã¯ãr ã¨ããã·ã§ã«çµã¿è¾¼ã¿ã³ãã³ãããã£ã¦ å±¥æ´ããã®å®è¡ãç°¡åã«è¡ããã ãã¨ãã°ãä¸çªæå¾ã«å®è¡ããviã³ãã³ããå®è¡ãããã¨ããªã©ã ã bashãªããã 㨠!vi ã§åºæ¥ãã®ã ãã rã³ãã³ãã ã£ãã % r vi ã§ããã ç´åã«å®è¡ããã³ãã³ããåã³å®è¡ãããã¨ãã bashãªããã 㨠!! ã¨ããããæ¹ã«ãªããã rã³ãã³ãã§ã¯ã % r ã¨ããã ãã§ããã ã¾ããæååãç½®ãæãã¦ããã®å±¥æ´å®è¡ã¯ã©ãã ããã ãã¨ãã°æ¬¡ã®ãããªbashã®ä¾ã ã $ vi .zshrc $ !vi:s/zsh/bash/ ããã¯ãæå¾ã«å®è¡ããviã³ãã³ãã®å¼æ°æååã ":s/zsh/bash/" ã«ããzshã¨ããæ
ããã®ãããã§è²ããªãã©ãã«ã«åºãããç¾½ç®ã«... ãããã©ããããã¼ãåå ãåããè¾ãã¦é·æéã«æ¸¡ã£ã¦ããããããªãã©ãã«ã ä¾ãã°... CentOSã§Xãç«ã¡ä¸ãããªã ãããªãã®ã»ãã·ã§ã³ã¯10ç§ä»¥ä¸ç¶ãã¾ããã§ãããã¨ãåºãã ãããããªãæ¯åCUIã®ç¶æ ããstartxæã£ã¦Xèµ·åãã¦ãã ããCentOS使ã£ã¦ãªããã©ãã¾ãä»ãåãã ãããªã¼ã*1 ããªãã®ã»ãã·ã§ã³ã¯10ç§ä»¥ä¸ç¶ãã¾ããã§ãã - Humanity scp, sftp scpãåºæ¥ãªãã¦è¶ ããã£ãã¡ã¢ï¼åå ã¯.bashrcï¼ - akiyan.com ã¨ã¾ã£ããåãçç¶ã§ãããããã£ãã ã§ããªããsshã¯ãã°ã¤ã³ã§ãããã¾ããããã¼ã¨æã£ã¦scp使ããUSBã¡ã¢ãªã¨ãã§ãããããã¡ã¤ã«ç§»åãã¦ããéããã¦ã...ã¢ããã°ããã...*2 解決ç ç´ ç´ã«chshãã¦zshãããã©ã«ãã·ã§ã«ã«ããæ¹ããããã
ããã©ã«ãã§ã¯bashãªã®ã§ .bashrcã«ï¼ç¡ããã°ä½æï¼æåã¯ãªãã¯ãï¼ã«ä»¥ä¸ã®æã追å ããããã¨æåã¯bashãªãã ãã©zshãã¡ããã¨ãã¦ããã¨ãã¯zshã³ãã³ããæã£ã¦ããã if [ -x `which zsh` ]; then echo '[switch login shell] bash -> zsh' exec zsh fi ã»ãã®ãµã¤ããã¿ãã¨.profileã ã¨ã.bash-profileã«æ¸ãã ã¨ãæ¸ãã¦ãããã©ééã .profileã«æ¸ãã¨ãã°ã¤ã³ã§ããªããªãã ãã®å ´åã¯rootã§ãã°ã¤ã³ãã¦vi /home/username/.profile ã§ããã»ã©è¿½å ããé¨åãåé¤ãã°ã¢ã¦ããèªåã®ã¢ã«ã¦ã³ãã§ãã°ã¤ã³ããã°OK
2012/12/13 è¿½è¨ zsh 4.3.11 以éã®æ°ããæ©è½ã使ã£ã¦æ¹è¯ãã¾ããã -> ãzsh ã® vcs_info ã«ç¬èªã®å¦çã追å ã㦠stash æ°ã¨ã push ãã¦ããªã件æ°ã¨ãä½ã§ã表示ãã - Qiitaã Git ã使ã£ã¦ãã¡ã¤ã«ãç·¨éããå ´åãããããã£ããã¤ã³ããã¯ã¹ã«è¿½å (add)ãã¦ãã®å¾ã³ãããã£ã¦ã®ãåºæ¬çãªæµãã«ãªãããªãããããããã£ã¦ãã¨ãã¡ãã㨠add ããã®ãã©ããããããªããªããã¨ãããã ããããã¨ã㯠status ã³ãã³ã使ãã°ãããã ãã©ã以åã¨ã³ããªæ¸ãã zsh ã® vcs_info ã®æ©è½ã使ãã¨ããæãã«ããã³ããã«è¡¨ç¤ºã§ããããã«ãªãã®ã§ç´¹ä»ããã zshrc ã®æ¸ãæ¹ ãããªé¢¨ã« zshrc ã«æ¸ãã¦ããã° OKã autoload -Uz add-zsh-hook autoload -Uz colors color
zsh ã® prompt ã«ãsvn ãã git ããã®ãã©ã³ãåã表示ããgit ã®ã¨ãã ãå¤æ´ç¹ã(詳ãç®ã«)表示ãã zshrc ã®è¨å®ããããããªãã®ãåèã«æ¸ãã¾ããã ã³ã¼ãã¯æå¾ã®æ¹ã«ããã¾ãã ãããªãããã«ãªã ãã©ã³ãåãå³å´ã«è¡¨ç¤º git add ããç´å¾ å¤æ´ãããã¨ã untracked ãªãã¡ã¤ã«ãããã¨ã çµã¿åããã£ã¦ããã¨ã ãã¡ã¤ã«ã®åé¤ã»ãªãã¼ã ãunmerged ãªãã¡ã¤ã«ã®å ´åã®è¡¨ç¤ºããããå²æã åèã«ããã¦ããã£ãã¨ãã åºæ¬çã«ã¯ id:mollifier ããã®ãzsh 㧠Git ã®ä½æ¥ã³ãã¼ã«å¤æ´ããããã©ãããããã³ããã«è¡¨ç¤ºããæ¹æ³ - mollifier delta blogãåèã«ãzsh ã® vcs_info ã使ã£ã¦ãã¾ããä¸ã®ä¾ãã´ãã´ããã¦ããã¨æããæ¹ã¯ããªã³ã¯å ã®ã»ããã¹ãããªãã¦ãã¦ããã§ãããã 調ã¹ã¦ãããã¡
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}