æ¡å¼µåãã¨ã«ã³ãã³ãã対å¿ã¥ããäºãåºæ¥ã Suffix Alias ã¨ããæ©è½ã zsh 4.2ç³»ããå®è£ ããã¦ãããããã ç¥ããªãã£ãã ã©ããªäºãåºæ¥ãã®ãã¨ãã㨠ãã¨ãã°ã alias -s txt=cat ã¨ããå ´åã 以ä¸ã®ããã«ããã ãã§ã % ./file.txt å ã»ã©è¨å®ããã³ãã³ããèªåã§å®è¡ãããããã«ãªãã % cat ./file.txt ãã¨ã¯ããã¢ã¤ãã¢ãã ãã ãã æ¡å¼µåã *.log ã®ã¨ãã¯ãtail -f ãããªãã¦äºãåºæ¥ãã alias -s log='tail -f' åè: http://zshwiki.org/home/examples/aliassuffix http://slashdot.jp/articles/04/03/27/2333234.shtml?topic=80 http://zsh.dotsrc.org/Doc/Rel
{{#tags}}- {{label}}
{{/tags}}