find -name "*.cpp" | xargs grep 'hoge' find -name "*.pm" | xargs grep 'hoge' find -name "*.h" | xargs grep 'hoge'ã¨ããã³ãã³ãããã£ã¨æã«é¦´æãã§ãã¦è¯ã使ãããã«ãªã£ãã®ã§ .zshrcã« function ã¨ãã¦ä»¥ä¸ã®ããã«ç»é²ããã function fxg() { find -name "*.$1" |xargs grep "$2" }å¼æ°ãåãåãã®ã¯ alias ã§ã¯åºæ¥ãªãã£ã½ãã®ã§ function ã«ãã¦ãã¾ãã ãã®ããã«ä½¿ãã¾ãã fxg "cpp" "hoge"æ¡å¼µåéå®ã«ãããè¿·ã£ãã®ã§ãã使ãã±ã¼ã¹ãã»ã¨ãã©æ¡å¼µåãã£ãããªã®ã§ä¸ã®æ§ã«ãªã£ã¦ãã¾ãã è¿½è¨ Mona ããã¸ã§ã¯ãç¨ function fxgm() { cd ~/monaos/mona
{{#tags}}- {{label}}
{{/tags}}