ã¯ããã« ã¤ãæè¿ç¥ã£ã便å©ãªãããã°æ¹æ³ (é·å¹´ã·ã§ã«ã¹ã¯ãªãããæ¸ãã¦ããã®ã«ç¥ããªãã£ããããã常èã ã£ããæ¥ããããâ¦) ã·ã§ã«ã¹ã¯ãªããã®ãããã°ã§ã¯ echo ã§å¤æ°ã®ä¸èº«ãè¦ãã¨ããåå§çãªæ¹æ³ããã使ããã¨æãã¾ãã ãããã ããªã³ããããã° ã¨ãããã¤ã§ããã ããå°ã詳ãããããã°ãå¿ è¦ãªå ´åã¯ã set -x 㨠set +x ã§ãããã°ãããé¨åãå²ãã¨ããæ¹æ³ãããã¾ãã ä»å㯠ããªã³ããããã° ã§ä½¿ã echo ã®ä»£ããã« typeset or declare ã使ãã¨è¯ãã¨ããã話ã§ãã ããªã³ããããã°ã¯ typeset or declare ã使ãã typeset or declare ã¯å¤æ°å®£è¨ãªã©ã§ãã使ãã³ãã³ãã§ãããå¤æ°ã®ä¸èº«ãè¦ãã®ã«ã使ãã¾ãã echo ã¨æ¯ã¹ã¦ä½ãè¯ãã®ãã¨ããã¨ãå¤æ°ã®ä¸èº«ã¯ãã¡ããå¤æ°åãå¤æ°ã®åã表示ãã¦ããã
zshã®autocorrectã¯ä¾¿å©ã§ãããä¸è¦ãªã¨ããããã¾ãããã®ãããªå ´åã«zshã®autocorrectãæå¶ã«ã¯ã~/.zshrcã®ä¸ã«alias ã³ãã³ã='nocorrect ã³ãã³ã'ã追å ãã¾ããzshã®autocorrectãæå¹ãªå ´åã bundle exec rspec spec/requests/foo_spec.rb ã®ãããªã³ãã³ããå®è¡ããã¨ã zsh: correct 'rspec' to 'spec' [nyae]? ã®ããã«è¨ããã¾ãã æ¯ånã®ããã«åçãããã¨ã¯é¢åã§ãã ãã®ãããªå ´åã¯ã~/.zshrcã®æ«å°¾ãããã«ä»¥ä¸ã®ãããªè¨è¿°ã追å ãã¾ãã alias bundle='nocorrect bundle' ããã§zshã¯bundleã³ãã³ãã«ã¤ãã¦è³ªåããã¦ããªããªãã¾ãã ~/.zshrcãç·¨éããã®ã§source ~/.zshrcã¨ãã¦
ãããã zsh ã¯ããã人ã¸ã£ã¦ã¿ã¤ãã«ã«ããããã¨æã£ããã©ãããã oh-my-zsh ã¨ããã®ãããã¾ãã https://github.com/robbyrussell/oh-my-zsh è²ã 便å©è¨å®ã¨ãã¼ã群ã«ãªãã¾ãã ã§ããã¼ãã®æ°ããããã®ã§ã¾ãã¯è¦ã¦ã¿ããâ https://github.com/robbyrussell/oh-my-zsh/wiki/themes ã¿ã㪠zsh 便å©ã ã£ã¦è¨ã£ã¦ããã使ã£ã¦ããã©ãã¾ãããã¾ã§ä½¿ãããªãã¦ãªãããã¼ ã§ã Bash ã«æ»ãã®ããªãã¨ããããªäººéã¯ä½ãèããã«ã¨ããããå ¥ãã¦ã¿ãã¨è¯ãã¨æãã ã¾ããèªåã®ä»ã¾ã§ã®è¨å®ã rename ã¨ããã¦éé¿ï¼ãã¨ã§ä½¿ãã¾ãï¼ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-m
2011-05-09 ã«ãã´ãª: ãã®ä»ã®ããã°ã©ãã³ã° ã¿ã°: Tips Linux Zsh è»è¼ªã®åçºæ ãã©ãã¯ãã㯠Git zshã®ããã³ããã«ãGitã®ãã©ã³ãåã表示ãããããªã£ãã ã¡ããã©ãâã®å³ã®ãããªæãã«ã bashã§ã¯git-completion.bashã§å®ç¾©ããã__git_ps1ã使ã£ã¦ãä¾ãã°âã®ãããªæãã§æ¸ãã¦ãããã©ã # Show git branch name if [ -n "$(type -t __git_ps1)" ]; then PS1='\u@\h \w$(__git_ps1)\n\$ ' fi zshã§ã¯vcs_infoã¨ããé¢æ°ã使ã£ã¦å®ç¾ãããããã vcs_infoã¯Gitã«éãããå種ã®VCS (Version Control System)ã«å¯¾å¿ãã¦ãããããªã®ã§ãä¸åº¦è¨å®ãã¦ããã°CVSãSubversionãMercur
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}