åå * ? [] ã®è¨å·ããã°ãã(glob)ã®ã¯ã¤ã«ãã«ã¼ãã¨ããå¥ã®æ§æã«èª¤è§£ããã¦ãã¨ã©ã¼ãåºã¦ãã¾ã£ãã¿ããã§ãã å¯¾å¦ ~/.zshrc ãã¡ã¤ã«ãæ¸ãæãã¾ãã ( ~/.zshrc ãã¡ã¤ã«ã¯ãzshã®ã³ãã³ãã®è¨å®ãæ¸ãè¾¼ããã¡ã¤ã«ã§ãã) ã¿ã¼ããã«ã«æ¬¡ã®ã³ãã³ããæã¡ã¾ãã
ã¯ãã㫠以ä¸ã®è¨äºã§ãzshã®ã°ãã¼ãã«ã¨ã¤ãªã¢ã¹(alias -g)ã®ä»£ããã«ãvimã®iabã£ã½ãç¥èªå±éãããæ¹æ³ãç´¹ä»ããã¦ãã¾ãã zshã®å人çã«ä¾¿å©ã ã¨æã£ãæ©è½ï¼suffix aliasãç¥èªå±éï¼ [zsh]vimã®iabã®ããç¥èªå±é examples:zleiab [ZshWiki] å®éè¨å®ãã¦ã¿ã¦ãã¡ããã¡ã便å©ã ã£ããã§ããï¼ã©ã便å©ãªã®ãã¯ä¸ã®ç´¹ä»ãèªãã§ã¿ã¦ãã ããï¼ã以ä¸ã®ç¹ãã¡ãã£ã¨ä¸æºã«ãªã£ã¦ãã¾ãã¾ããã Spaceãæ¼ããã«Enterãæ¼ãã¡ãã£ãå ´åã«ãç¥èªãå±éãããªããï¼ã¾ããããã¯alias -gã§åãå®ç¾©ããããããã®ã§ãããï¼ å±éããæååãå®è¡æã«æ±ºå®ããããï¼alias -g B="\$(git symbolic-ref --short HEAD)"ã£ã¦å®ç¾©ããã¨ãBãç¾å¨ã®ãã©ã³ãåã«å±éããããã¿ãããªãã¨ããããã£ããï¼
zshã®ã¿ã¼ããã«ã«ä»ãããã¹ã®ãªãã¸ããªã®æ å ±ã表示ãã¦ã¿ããã¨ã«ãã¾ããæçµç®æ¨ã¯ãããªæãã ãã©ã³ãåã表示 å ¨ã¦ã³ãããããã¦ããããªç¶æ ã§ããã°ç·è² addããã¦ããªããã¡ã¤ã«ãããã°+ãã¼ã¯ãã¤ãã¦èµ¤è² commitããã¦ããªããã¡ã¤ã«ãããã°!ãã¼ã¯ãã¤ãã¦é»è² ã¡ãªã¿ã«ãã®è¨äºã«æ¸ãã¦ãããã¨ã¯ zsh ã®ãã¼ã¸ã§ã³ã 4.3.10 以ä¸ã«éã£ã¦æå¹ã§ãã ãã¦ããããå®ç¾ããã«ã¯ vcs_info ã¨ãããã®ã使ãã¾ãã以ä¸ã®ãããªè¨è¿°ã ~/.zshrc ã«è¿½å ãã¾ãã # ãã®è¡ã¯ç¾å¨ã®ãã¹ã表示ããè¨å®ã§ãããã©ã³ãã表示ãã¦è²ãã¤ããè¨å®ã¨ã¯é¢ä¿ããã¾ãã RPROMPT="%{${fg[blue]}%}[%~]%{${reset_color}%}" autoload -Uz vcs_info setopt prompt_subst zstyle ':vcs_i
æè¿ãzsh + Vim + tmux ã§ã³ãã³ãã©ã¤ã³ã©ã¤ããéããã¦ããæ¹ãå¤ããªã£ã¦ããããã«æãããã®è±ã㪠CLI ã©ã¤ããæ¯ãã¦ããã®ã¯æ°å¤ãã®åªãããã©ã°ã¤ã³ã§ãããã¨ã«ã¯ééããªãï¼ãã¡ãããã©ã°ã¤ã³ã使ããªãæ´¾é¥ãä¸å®æ°ããã§ãããï¼ã ä»åã¯ã¨ããã zsh ã«çµã£ã¦æç¨ã§ãããã©ã°ã¤ã³ãç´¹ä»ãã¦ããã zsh ã®ãã©ã°ã¤ã³ ãã©ã°ã¤ã³ããã¼ã¸ã£ ã¾ãã¯ç®¡çã®è¦ã¨ãªããã©ã°ã¤ã³ããã¼ã¸ã£ã ããã ä»ã¤ããªã·ãªã®ã¯ zplugï¼neobundle + vim-plug ã® zsh çï¼ãªã®ã ãå®çªã§ãã Antigen ãä¸å¿æãã¦ããã zplug - A next-generation plugin manager for zsh Antigen - A plugin manager for zsh, inspired by oh-my-zsh and vundle.
ãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ã¯ãã³ã³ãã¥ã¼ã¿ã®ãã¼ãã¦ã§ã¢ç®¡çããã¡ã¤ã«ç®¡çããã¼ã¿ã®å ¥åºåã¨ç®¡çãã¢ããªã±ã¼ã·ã§ã³ããã°ã©ã ãã¦ã¼ãã£ãªãã£ã®å®è¡ãã¦ã¼ã¶ã¼ã¨ã®å¯¾è©±ãªã©ãå¹ççã«è¡ãããã®å¶å¾¡ã»å¦çããã°ã©ã ã®åºæ¬ã»ããã§ãã
zshã®manãã¼ã¸ãèªãã§è§£èª¬ãããã¨ããä¼ç»ã®2åç®ã§ããmanãã¼ã¸ãèªãã§å¤§äºãªã¨ãããç´¹ä»ããã解説ããããã¾ãã ä»åã¯ãman zshroadmap(1)ãèªã¿ã¾ããããã«ã¯zshã®ä»£è¡¨çãªæ©è½ã®ç´¹ä»ã¨ã詳細ãç¥ãããã¨ãã«ã©ã®manãã¼ã¸ãèªãã°ããã®ããæ¸ããã¦ãã¾ããzshã使ãå§ãããã©ä½ã便å©ãªã®ããåãããªãã¨ãã人ã¯ããã®ãã¼ã¸ãã¨ã£ãããã«ãã¦ãããããªæ©è½ãæ¢ãã¦ã¿ãã¨ã¯ãã©ãã§ãããã ããã§ã¯ããã£ããèªãã§ããã¾ãããã WHEN THE SHELL STARTS(ã·ã§ã«ã®èµ·åå¦ç) zshã¯èµ·åæã«è²ã ãªãã¡ã¤ã«ãèªã¿è¾¼ã¿ã¾ãããããã®ãã¡ã¤ã«ã¯è¨å®ãã«ã¹ã¿ãã¤ãºããããã«ããã¾ããman zsh(1)ã®ãStartup/Shutdown Filesãã®ç¯ã«è©³ç´°ãæ¸ãã¦ããã¾ãã INTERACTIVE USE(対話çãªä½¿ããã) ã·ã§ã«ã対話çã«æ
zshã®manãã¼ã¸ãèªãã§è§£èª¬ãããã¨ããä¼ç»ã®ç¬¬ä¸åç®ã§ããmanãã¼ã¸ãèªãã§å¤§äºãªã¨ãããç´¹ä»ããã解説ããããã¾ãã ä»åã¯ä¸çªåºæ¬ã®ãã¼ã¸ãman zsh(1)ãèªã¿ã¾ããããã«ã¯zshã®æ¦è¦ã¨Webãµã¤ããå ¬å¼ããã¥ã¡ã³ãã®å ´æãªã©ãæ¸ããã¦ãã¾ããããã§ã¯ãå®éã«ä¸ãè¦ã¦è¡ãã¾ãããã OVERVIEW(è¦ç´) ã¾ãããã§ãzshã®manãã¼ã¸ä¸è¦§ã¨ãããããä½ã®ãã¼ã¸ãªã®ãã1è¡ã§ç°¡åã«æ¸ããã¦ãã¾ãã調ã¹ãããã¨ããã£ã¦ã©ã®manãã¼ã¸ãèªãã°ããã®ãåãããªããªã£ãã¨ãã¯ããããè¦ãã¨ããã§ãã AVAILABILITY(å ¥æå ´æ) zshã®ã½ã¼ã¹ã³ã¼ãããã¦ã³ãã¼ãããããã®FTPãã¦ã§ããµã¤ãURLãæ¸ãã¦ããã¾ãããã¨ãã½ã¼ã¹ã³ã¼ã ãªãã¸ããªãç´¹ä»ããã¦ãã¾ãããªãã¸ããªã¯http://sourceforge.net/projects/zsh/ã«ãã£ã¦ãCVS
ãã¦ãããããã¯æ¯æ¥ã·ã§ã«ã使ã£ã¦ããããã§ãããã¿ãªããã¯ã©ããã£ã¦ä»ã®ã·ã§ã«ãé¸ãã ã®ã§ããããã åæè¨å®ã®ã¾ã¾ã¨ãããªãã¨ãªãã¨ãããçç±ã®äººãããã§ããããéã«ãè²ã ã¨ã·ã§ã«ã渡ãæ©ãã¦ä»ã®çµæã«è¡ãçããã¨ãã人ãããã§ãããã åã®å ´åãåãã¯bashã使ã£ã¦ãã¾ãããã©ã®ã·ã§ã«ã使ã£ã¦ãã ãããåããã¨ãã§ããã ããã¨ããèãã®ãã¨ãæ®éã«ããã©ã«ãã®ãã°ã¤ã³ã·ã§ã«ã使ã£ã¦ãã¾ãããç¹ã«å°ããã¨ããªãã使ãããªãã¨ãããã¨ããªãããªãã¨ãªã使ã£ã¦ãã¾ããã ããæ¥ãä»ã®äººã使ã£ã¦ããtcshã®è¨å®ãã¡ã¤ã«ãè¦ãæ©ä¼ãããã¾ããã確ããã®ã¨ãã®è·å ´ã«ä¼ãã£ã¦ããç§ä¼ã®tcshrcã ã£ãã¨æãã¾ããããã¯aliasãããªãããæ¿ããã«ã¹ã¿ãã¤ãºããã¦ãã¾ãããããããããããä¸çãããã®ããã¨ãæå¿ãã¾ããã ãããããããçä¼¼ãããã¨èª¿ã¹ã¦ã¿ãã¨ãããã©ãããtcshã«ã¯æ¬ é¥
antigen ã§ãããããã£ã±ããæè¿ã¯ antigen ã®è»½éãã¼ã¸ã§ã³ã§ãã zgen ãã¢ããããã§ãã åãåæ§ã«ãæå㯠antigen 使ã£ã¦ãããã§ãããã¾ããã©ã°ã¤ã³ã®èªã¿è¾¼ã¿ãé ãï¼tmux ã§ãã¤ã³ãé »ç¹ã«éããããã身ããããã¨ãã¼ãã£ã³ã°ãé ãã®ã¯ãã©ã¤ï¼ã®ã¨ãantigen èªä½ã®æ©è½ã貧弱ã§å°ã£ã¦ã¾ãããä¾ãã°ãantigen ã¯ãã©ã°ã¤ã³ãã管çãã¦ããã¾ãããããã³ãã³ãã管çãããã¨ããã¨ä¸å·¥å¤«ããããããã¾ããï¼ä¾: b4b4r07/http_codeï¼ãããã«ãfzf ã jq ãªã© CLI ãã¼ã«ã¨ãã¦ã¯æç¨ã§ãã³ã³ãã¤ã«ããå¿ è¦ããããã®ã®ç®¡çã¯ä¸å¯è½ã§ããã zplug ãã¹ã¦ã®è¦æã«å¿ãããã©ã°ã¤ã³ããã¼ã¸ã£ãã¹ã¯ã©ããããä½ã£ã¦ãã¾ãã b4b4r07/zplug 並åã¤ã³ã¹ãã¼ã«ï¼æ¬ä¼¼ãã«ãã¹ã¬ããï¼ ãã©ã³ã/ã¿ã°æå® ã³ãã³ã管çï¼è¨
vcs_info ã®è¨å®ããã¦ãã¦ãzstyle ・・・ã¨ããè¨å®ãããããããªãã¾ã¾ä½¿ç¨ãã¦ããã®ã§ãã®æ©ä¼ã«èª¿ã¹ã¦ã¿ã¾ããã æ¸å¼ zstyle ':completion:*:*:ã³ãã³ã:*:ã¿ã°' ã¹ã¿ã¤ã« ã°ã°ã£ã¦ã¿ã¾ããããã以ä¸ãããããã表è¨ãè¦ã¤ãããªã・・・ ããããããããããã¯è£å®ã®æã®è¨å®ã ç§ãç¥ãããã®ã¯ csv_info ã使ãã¨ãã® zstyle ':*vcs_info:git:*' foo barã®æ¸å¼ï½¡ï¾(ï¾Â´Ðï½ï¾)ï¾ï½¡ çµæ ç§ã§ã¯ãããã¾ããï¼ï¼æå¾ ãã¦ãã®è¨äºãè¦ã¦ãã ãã£ãæ¹ã ãæ¬å½ã«ããããªããã 誰ãããã人æãã¦ãã ããorz
zshã§Gitã®ã¹ãã¼ã¿ã¹æ å ±ãããã³ããã«è¡¨ç¤ºããã«ã¯vcs_infoã使ãæ¹æ³ãä¸è¬çã§ãããvcs_infoã§å¾ãããæ å ±ã«ã¯éããããã¾ããããã§ãgit statusã使ã£ã¦ããã³ããã表示ããæ¹æ³ã調ã¹ã¦ã¿ã¾ããããªããOS Xã®Git 2.3.2ã§ç¢ºèªãã¦ãã¾ãã git statusã§å¾ãããæ å ± git status --porcelain --branch ãå®è¡ããã¨ãã©ã³ããã¯ã¼ãã³ã°ããªã¼ãã¤ã³ããã¯ã¹ã®ç¶æ ãå¾ããã¾ãã--porcelainãä»ãããã¨ã§æ©æ¢°å¦çã«é©ãããã©ã¼ããããå¾ããã¾ãããã®ã³ãã³ãã®å®è¡çµæã¯ä¸è¨ã®2ã¤ã®é¨åã§æ§æããã¾ãã ãã¼ã«ã«ãã©ã³ãã®ç¶æ ï¼1è¡ç®ï¼ ãã¼ã«ã«ãã©ã³ãã®ç¶æ 表示 ãªã¢ã¼ããã©ã³ãã¨åæãã¦ãã ## master...origin/master ãªã¢ã¼ããã©ã³ãããå¤ã ## master...origin/
è¤æ°ã®ãµã¼ããé¢ãã£ã¦ããç°å¢ã§ã¯ããã¹ãã«äººéãåããååãé¢é£ä»ããªããã°éç¨ãã¹ã±ã¼ã«ããªããªããã®ã§ãããã®ååã¯ãã¹ãåã ã£ããããã¼ã«ãã¿ã°ã®ãããªãã®ã ã£ããããã¨æãã¾ãããä»®ã«ãã¹ãåãå©ç¨ãããªããDNS ãç¨ãã¦ååã¨ãã¹ãï¼ã® IP ã¢ãã¬ã¹ï¼ã®å¯¾å¿ãã¤ãããããªãã¨ãã§ããã§ããããDNS ãå©ç¨ã§ããªãå ´åã¯ã/etc/hosts ã«æ¸ãã¨ãããããªã®ãããã§ããã ããããã¹ãåãç´æ¥å©ç¨ããéç¨ã¨ããã®ã¯æå¤ã¨é£åãªã¨ããããã£ã¦ãã¨ãã«èªåã®ããã«æ®æ®µãµã¼ããæ±ã£ãä½æ¥ããã¾ãããªãã¢ããªã±ã¼ã·ã§ã³ã¨ã³ã¸ãã¢ãªã©ã¯ããåã«æ¥ç¶ãããã¨ãããã®ãã¹ãã¯ä½ã ã£ãâ¦â¦ãã¨ããããè¦ãç¶æ ã«å¼±ããååã®ä¸é¨ã¯è¦ãã¦ãããããªã®ã§ãã·ã§ã«ã®å±¥æ´ãæ¤ç´¢ããã°ãªãã¨ããªãã®ã§ãããä¸åº¦ãæ¥ç¶ãããã¨ããªããã°ç®å½ã¦ã®ãã¹ããæ¢ãåºããã¨ã¯ã§ãã¾ããï¼ãã®ãæ¥ç¶ãããã¨ã
ã calcurio.com ãã®ãã¼ã¸ã¯ããã¡ã¤ã³ãç¡å¹ãªç¶æ ã§ãã ã¦ã§ããµã¤ã管çè ã®æ¹ã¯ãã¡ãããå¤æ´ã»æ´æ°ãè¡ã£ã¦ãã ããã ã calcurio.com ãis Expired or Suspended. The WHOIS is here.
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}