Upgrade to Pro — share decks privately, control downloads, hide ads and more …

zshと仮想端末マネージャで快適ターミナル生活

 zshと仮想端末マネージャで快適ターミナル生活

Nobutoshi Ogata

September 12, 2011
Tweet

More Decks by Nobutoshi Ogata

Other Decks in Technology

Transcript

  1. ཤྺͷ࢒Γํ͕͏Ε͍͠ ෳ਺ߦʹ౉ΔίϚϯυཤྺͷ࢒Γํ ͔͠΋ΤσΟλͷΑ͏ʹ్தΛॻ͖׵ ͑ͨΓͰ͖·͢ nobu666@cherub $ for n in 1

    2 3 for# do for# echo test; for# done test test test nobu666@cherub $(͜͜ͰC-p) nobu666@cherub $for n in 1 2 3 do echo test; done 11೥9݄12೔݄༵೔
  2. ࢉज़ԋࢉ͕͏Ε͍͠ nobu666@cherub $ zmodload -i zsh/mathfunc nobu666@cherub $ echo $((

    sin(1) )) 0.8414709848078965 nobu666@cherub $ echo $(( log10(2) )) 0.3010299956639812 nobu666@cherub $ echo $(( sqrt(2) )) 1.4142135623730951 nobu666@cherub $ repeat 3 echo $(( rand48() )) 0.9822596229634506 0.37442021252918423 0.13525322333015666 11೥9݄12೔݄༵೔
  3. άϩʔόϧΤΠϦΞε͕͏Ε͍͠ hogehoge | piyopiyo tail -f /var/log/php.log G Fatal ls

    -la L ޙΖʹύΠϓͰͭͳ͛ͯɺׂͱΑ͘࢖͏΋ͷ ͸શ෦ొ࿥ head,tail,grep,sort,uniq,lv,wc,sed,awk... 11೥9݄12೔݄༵೔