.zshrcã®è¨å®
zsh ã®è¨å®ãã¡ã¤ã«ã§ã。 ç¾å¨ã®ãªãã·ã§ã³(setoptã§æå¹ã«ãªãé ç®)ã確èªããå ´åã¯ã"set -o"ãå®è¡ãã¦ãã ããã
ä¸éã、zshãç解ããã«ã¯ä»¥ä¸ã®é£è¼ãå½¹ã«ç«ã¤ã¨æãã¾ã。
漢のzsh | コラム | エンタープライズ | マイコミジャーナル
æ¸ç±ã§ã¯ãã¡ããåèã«ãªãã¾ãã
- ä½è : ä¸å³¶è½å
- åºç社/ã¡ã¼ã«ã¼: ç¿æ³³ç¤¾
- çºå£²æ¥: 2008/12/04
- ã¡ãã£ã¢: åè¡æ¬ï¼ã½ããã«ãã¼ï¼
- è³¼å ¥: 7人 ã¯ãªãã¯: 175å
- ãã®ååãå«ãããã° (50件) ãè¦ã
- 確èªãã¦ããzshã®ãã¼ã¸ã§ã³
- 5.0.4 (2013.12.21 ãªãªã¼ã¹)
- 確èªãã¦ããOS
- Fedora 20 ã§ç¢ºèªï½¡
# æåã³ã¼ãã®è¨å® export LANG=ja_JP.UTF-8 # ãã¹ã®è¨å® PATH=/usr/local/bin:$PATH export MANPATH=/usr/local/share/man:/usr/local/man:/usr/share/man # é¢æ° find-grep () { find . -type f -print | xargs grep -n --binary-files=without-match $@ } # ã¨ã¤ãªã¢ã¹ã®è¨å® alias ls='ls --color=auto' alias ll='ls -ltr' alias gd='dirs -v; echo -n "select number: "; read newdir; cd +"$newdir"' # ããã³ããã®è¨å® PROMPT='%~# ' # ãã¹ããªã®è¨å® HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 # å±¥æ´ãã¡ã¤ã«ã«æå»ãè¨é² setopt extended_history # è£å®ãããã®è³ªåã¯ç»é¢ãè¶ ããæã«ã®ã¿ã«è¡ã。 LISTMAX=0 autoload -Uz compinit; compinit # sudo ã§ãè£å®ã®å¯¾è±¡ zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin # cdã®ã¿ã¤ãã³ã°ã§èªåçã«pushd setopt auto_pushd # è¤æ°ã® zsh ãåæã«ä½¿ãæãªã© history ãã¡ã¤ã«ã«ä¸æ¸ããã追å setopt append_history # è£å®åè£ãè¤æ°ããæã«ãä¸è¦§è¡¨ç¤º setopt auto_list # ä¿ç®¡çµæãã§ããã ãè©°ãã setopt list_packed # è£å®ãã¼ï¼Tab, Ctrl+I) ãé£æããã ãã§é ã«è£å®åè£ãèªåã§è£å® setopt auto_menu # ã«ãã³ã®å¯¾å¿ãªã©ãèªåçã«è£å® setopt auto_param_keys # ãã£ã¬ã¯ããªåã®è£å®ã§æ«å°¾ã® / ãèªåçã«ä»å ãã次ã®è£å®ã«åãã setopt auto_param_slash # ãã¼ãé³ãé³´ãããªãããã«ãã setopt no_beep # ç´åã¨åãã³ãã³ãã©ã¤ã³ã¯ãã¹ããªã«è¿½å ããªã setopt hist_ignore_dups # ãã¹ããªã«historyã³ãã³ããè¨é²ããªã setopt hist_no_store # ä½åãªã¹ãã¼ã¹ãåé¤ãã¦ãã¹ããªã«è¨é²ãã setopt hist_reduce_blanks # è¡é ãã¹ãã¼ã¹ã§å§ã¾ãã³ãã³ãã©ã¤ã³ã¯ãã¹ããªã«è¨é²ããªã # setopt hist_ignore_spece # éè¤ãããã¹ããªã¯è¿½å ããªã # setopt hist_ignore_all_dups # ãã¹ããªãå¼ã³åºãã¦ããå®è¡ããéã«ä¸æ¦ç·¨éã§ããç¶æ ã«ãªã setopt hist_verify # auto_list ã®è£å®åè£ä¸è¦§ã§ãls -F ã®ããã«ãã¡ã¤ã«ã®ç¨®å¥ããã¼ã¯è¡¨ç¤ºããªã setopt no_list_types # ã³ãã³ãã©ã¤ã³ã®å¼æ°ã§ --prefix=/usr ãªã©ã® = 以éã§ãè£å®ã§ãã setopt magic_equal_subst # ãã¡ã¤ã«åã®å±éã§ãã£ã¬ã¯ããªã«ãããããå ´åæ«å°¾ã« / ãä»å ãã setopt mark_dirs # 8 ãããç®ãéãããã«ãªããæ¥æ¬èªã®ãã¡ã¤ã«åã表示å¯è½ setopt print_eight_bit # ã·ã§ã«ã®ããã»ã¹ãã¨ã«å±¥æ´ãå ±æ setopt share_history # Ctrl+wã§ï½¤ç´åã®/ã¾ã§ãåé¤ãã。 WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' # ãã£ã¬ã¯ããªãæ°´è²ã«ãã。 export LS_COLORS='di=01;36' # ãã¡ã¤ã«ãªã¹ãè£å®ã§ãlsã¨åæ§ã«è²ãã¤ãã。 zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # cd ãããã¨ãã«lsãå®è¡ãã function chpwd() { ls } # ãã£ã¬ã¯ããªåã ãã§ï½¤ãã£ã¬ã¯ããªã®ç§»åããã。 setopt auto_cd # C-s, C-qãç¡å¹ã«ããã setopt no_flow_control
2006/09/25 ä¸é¨ä¿®æ£
2006/09/29 ä¸é¨ä¿®æ£
2006/11/05 ä¸é¨ä¿®æ£ã¨ããã°ä¸ã®è¡¨ç¤ºãè²ã¤ã
2006/11/29 ãªãã·ã§ã³åã®çµ±ä¸ã¨ããã°ä¸ã®è¡¨ç¤ºè²ã¤ã解é¤(æååããããã)
2006/12/15 ã¹ã¼ãã¼preè¨æ³ ã·ã³ã¿ãã¯ã¹ã»ãã¤ã©ã¤ã
2007/05/20 確èªãã¼ã¸ã§ã³ã、4.3.4ã«å¤æ´
2008/02/15 確èªãã¼ã¸ã§ã³ãã4.3.5ã«å¤æ´
2008/05/10 確èªãã¼ã¸ã§ã³ãã4.3.6ã«å¤æ´
2008/10/30 確èªãã¼ã¸ã§ã³ãã4.3.8ã«å¤æ´
2008/12/31 æ¸ç±ã®ç´¹ä»ã¨å¾®ä¿®æ£
2009/01/12 確èªãã¼ã¸ã§ã³ãã4.3.9ã«å¤æ´
2009/06/06 確èªãã¼ã¸ã§ã³ãã4.3.10ã«å¤æ´
2010/04/04 è¨å®é
ç®ä¸é¨è¿½å ã
2011/01/04 確èªãã¼ã¸ã§ã³ãã4.3.11ã«å¤æ´
2011/06/11 確èªãã¼ã¸ã§ã³ãã4.3.12ã«å¤æ´
2011/12/16 確èªãã¼ã¸ã§ã³ãã4.3.14ã«å¤æ´
2012/02/25 確èªãã¼ã¸ã§ã³ãã4.3.17ã«å¤æ´
2012/07/21 確èªãã¼ã¸ã§ã³ãã5.0.0ã«å¤æ´
2013/01/02 確èªãã¼ã¸ã§ã³ãã5.0.2ã«å¤æ´
2013/12/21 確èªãã¼ã¸ã§ã³ãã5.0.4ã«å¤æ´