function precmd { hoge } ã¨ãæ¸ãã¨ã·ã³ãã«ã§ãããã§ãããè¤æ°è¨ç½®ã¯ã§ããªãã®ã§å ¨ãå¥ç®çã®ã³ã¼ãã§ãã£ã¦ããä¸ç·ããã«ãã¦æ¸ãç¾½ç®ã«ãªãã¾ãã ã©ã®ã¤ãã³ããä¸ã¤ã ããªãã¨ããããprecmd 㨠preexec 両æ¹ã«ã³ã¼ãå ¥ãããã¨ããªã©ã¯ãåããã¥ãããªãã¾ãã ããã§ããªã¬ãªã¬é¢æ°ãé©å½ã«ä½ã£ã¦ã(precmd|preexec|chpwd|periodic|zshaddhistory|zshexit|...)_functions é åå¤æ°ã«ãã®é¢æ°åãçªã£è¾¼ãã§ããã¨ããã§ãã function _OREORE_preexec_1 { echo oreore 1 } function _OREORE_preexec_2 { echo oreore 2 } preexec_functions=($preexec_functions _OREORE_pree
{{#tags}}- {{label}}
{{/tags}}