zaw - zsh anything.el-like widget install $ git clone git://github.com/zsh-users/zaw.git remote: Counting objects: 136, done. remote: Compressing objects: 100% (86/86), done. remote: Total 136 (delta 43), reused 136 (delta 43) Receiving objects: 100% (136/136), 23.68 KiB, done. Resolving deltas: 100% (43/43), done. $ echo "source ${PWD}/zaw/zaw.zsh" >> ~/.zshrc and restart zsh or manualy source za
å æ¥ãshellåå¼·ä¼ã§ãzawã使ã£ã¦ã·ã§ã«æä½ãå¿«é©ã«ãã¨ããã話ãè´ãã¦ãèªåãããå°ããã®ãããã®ç°å¢ãæ´ããããã¨æãç«ã£ãã nanapiåå¼·ä¼ vol2 - Shellã®æ´»ç¨ã§ããã ãæ¯æ¥ã便å©ã«ãªã - nanapiåå¼·ä¼ | Doorkeeper zawã§å¿«é©ã·ã§ã«çæ´» // Speaker Deck èªåã使ãé¸æãããã®ã¯ zaw ã§ã¯ãªã percol ã 軽ã調ã¹ã¦ã¿ããããã§ã¯ zawã£ã¦ã®ã¯è¨å®ãã¦ãã(ãããã¯èªä½ãã)決ããããsourceã使ã£ã¦æ±ºããããæä½ãè¡ããã®ã§ãzshã«å¯æ¥ã«çµã³ä»ãã¦ãããã¼ã«ã§ãpercolã¯ããããã®ã§ã¯ãªãç´ç²ã«ãå ¥åããã£ã«ã¿ãªã³ã°ãããã ãã®ãã¼ã«ãªã®ã§ããã¤ããªã©ã使ã£ã¦åã³ãã³ãã¨çµã¿åããããã¨ã§è²ã ãªä½¿ãæ¹ãã§ãããã percolã®å°å ¥ https://github.com/mooz/percol Pyt
ã¾ã, ä»ã®ã·ã§ã«ãã使ãã®äººã«ã¯ããããªãã. aliasã³ãã³ãã®-sã使ããã®ã¯ zsh 4.2.x- ã§, ä»ã®ã·ã§ã«ã§ã¯å®è£ ããã¦ããªãã¨æãã¾ã. ãã¨, ããæ¢ã« alias -s ç¥ã£ã¦ããã¼ã£ã¦äººã¯èªã¾ãªãã¦ããã§ã. alias -s ã£ã¦ä½ï¼ æã£ãã³ãã³ãã®å¾ã(suffix)ãè¦ã¦, é©å½ã«å®ãããã£ã¦ããããã¤ã§ã. 次ã®ä¾ãè¦ã¦ä¸ãã. ~$ echo "print ('hello, world')" > hello.py ~$ python hello.py hello, world ~$ alias -s py=python py=python ~$ ./hello.py hello, world ~$ Pythonã®ã³ã¼ã㯠python hello.py ã§å®è¡åºæ¥ã¾ãã, ãå°»ã py ãªã python ã使ãã¾ã, ã¨aliasãã¦ããã°, ./
alias -s txt='cat' alias -s html='google-chrome' alias -s rb='ruby' alias -s py='python' alias -s hs='runhaskell' alias -s php='php -f' alias -s {gz,tar,zip,rar,7z}='unarchive' # preztoã®archiveã¢ã¸ã¥ã¼ã«ã®ã³ãã³ã(https://github.com/sorin-ionescu/prezto/tree/master/modules) alias -s {gif,jpg,jpeg,png,bmp}='display' function runcpp () { g++ -O2 $1 shift ./a.out $@ } alias -s {c,cpp}='runcpp' function runjava
ä¸ã¤åã®ã¨ã³ããªã¼ã§æ°è¦ Mac ã«ã¤ã³ã¹ãã¼ã«ãã¦ããããã¢ããªã®ã¾ã¨ããç´¹ä»ãã¾ãããããã³ãã¨ã³ãéçºããã¦ããã«ããããã¢ããªãã¤ã³ã¹ãã¼ã«ããã ãã§ãªãå¿ è¦ã«å¿ãã¦æ§ã ãªåä½ç°å¢ãæ§ç¯ããå¿ è¦ããã訳ã§ããããããã¾ãä½ãã¨æéã®ãããé¢åãªä½æ¥ã ã£ãããã¾ããé½åº¦ã°ã°ã£ã¦ã¯åèã«ãªããããªæ å ±ã«å£ã£ã¦è©¦ã¿ããããã®æ å ±ãå¤ãã£ããæ§ç¯ããããã®åææ¡ä»¶ãå¾®å¦ã«ç°ãªã£ããã¨ããã£ãããã®ã¾ã¾åèã«ãããã¨ãé£ãããã¨ãã»ã¨ãã©ã ã£ãããã¾ãã ç¾ç¶ãåã¯Â Mac ã®éçºç°å¢ã®æ§ç¯ã«Â Homebrew ã¨ããããã±ã¼ã¸ç®¡çãã¼ã«ãå©ç¨ãã¦ãã¾ããæµ·å¤ã¨æ¯è¼ãã¦æ¥æ¬ã§ã®å©ç¨è ãå¤ããã¨ããæ¥æ¬èªã®æ å ±ãå¤ãåºåã£ã¦ãããã¨ã主ãªçç±ã§ãã Homebrewï¼ãã¼ã ãã«ã¼ï¼ã¯ãMac OS Xãªãã¬ã¼ãã£ã³ã°ã·ã¹ãã ä¸ã§ã½ããã¦ã§ã¢ã®å°å ¥ãåç´åããããã±ã¼ã¸ç®¡çã·ã¹ãã ã®ã²ã¨ã¤ã§ãã
æè¿ oh-my-zsh ã£ã¦ã®ãããã£ã¦èãããã¤ã³ã¹ãã¼ã«ããã ã㧠zsh ã便å©ã«ãªãã¿ãããªã®ã§ãæ©é試ãã¦ã¿ãã oh-my-zsh ã£ã¦ä½? oh-my-zsh 㯠zsh ã®è¨å®ã管çãããã¬ã¼ã ã¯ã¼ã¯ã§ãããããªè¨å®ãæå¹ã«ãã¦ç®¡çãæ´æ°ã§ããããã«ãªããããã¸ã§ã¯ã㯠GitHub ã§ç®¡çããã¦ãã http://github.com/robbyrussell/oh-my-zsh ç¹å¾´ã¨ãã¦ãããªãã¨ãæãããã¦ãã 40以ä¸ã®ããã³ãã ãã¼ã 便å©ãªãã©ã°ã¤ã³ èªåã¢ãããã¼ãæ©è½ ã³ãã¥ããã£ä¸»ä½ã®éçº(ã¿ããªã®è¨å®ãåãè¾¼ãã§ãã) ã¤ã³ã¹ãã¼ã«ããã¨ãã ããããããªãã¨ãè¨å®ãããã ããã³ããããã£ããã(?)ãªã alias ããã£ã±ãè¨å®ããã ãã使ã option ãè¨å®ããã ã¤ã³ã¹ãã¼ã«ç´å¾ã¯ãããªæãã Git ã®ãã©ã³ãåã表示ãããã å¿ è¦
ç®ç Mac Terminal.app ã®ã«ã©ã¼è¨å®ãSolarized ã«ããã vim ã¨ls ã³ãã³ãçµæããSolarized ã«ã©ã¼ã«ããã ç§ã¯ãTotalTerminal ãå©ç¨ãã¦ããããæ¬æé ãè¡ãã°TotalTerminal ä¸ã§ãSolarized ã«ã©ã¼ã¹ãã¼ããé©ç¨ã§ããã TotalTerminal ã®è¨å®ã¯ãTerminal.app ã«ä¾åãã¦ããããã Solarized ã¨ã¯ï¼ ç®ã«åªããç²ãã«ããããã©è¦ãããã«ã©ã¼ã¹ãã¼ã Ethan Schoonover ã¨ãã人ãèæ¡ ã«ãã³ã¨ã¹ ã§ãã©ããªæãã«ãªãï¼ Solarized - Ethan Schoonover ãåç §ã åææ¡ä»¶ ç°å¢ ä½æ¥å OS: Mac OSX 10.8.4 ä½æ¥å¾ï¼â»å·®ç°é¨ã®ã¿è¨è¼ï¼ coreutilsï¼glsãå¿ è¦ï¼ ã¤ã³ã¹ãã¼ã« æ¡ä»¶ Homebrew ãã¤ã³ã¹ãã¼ã«ã
README.md agnoster.zsh-theme A ZSH theme optimized for people who use: Solarized Git Unicode-compatible fonts and terminals (I use iTerm2 + Menlo) For Mac users, I highly recommend iTerm 2 + Solarized Dark Compatibility NOTE: In all likelihood, you will need to install a Powerline-patched font for this theme to render correctly. To test if your terminal and font support it, check that all the nece
å æ¥äººåæ¤ç´¢ã§ GNU screen ã®è¨å®TIPSã«ã¤ãã¦è³ªåãã¦ã¿ãã¨ãããããªã¼ãå½¹ç«ã¤è¨å®ã¨ããããããæãã¦ããããã¨ãã§ãã¾ãããã¿ãªããæè¬ã ããã§ãæãã¦ããã ããéãã«ã«ã¹ã¿ãã¤ãºããçµæããããªæãã®ã¹ã¯ãªã¼ã³ã·ã§ãããæ®ãã¾ãããMacOSX ã®ã¿ã¼ããã«ã§ãã ããããã¾ã§ããªã便å©ã«ãªã£ã¦ä½æ¥å¹çãä¸ãã£ãã¨æãã¾ããããããæãã¦ããã£ãã礼ã¨ã¾ã§ã¯ããã¾ãããããã£ãè¨å®ã¨ããã¯ã¾ãã©ããã¨ãã交ãã¦ç´¹ä»ãã¦ã¿ã¾ããåä»ãã¦ãªãã¼ã¹NDOã¡ã½ãããã¡ãªã¿ã«ãç¥ã£ã¦ã人ã«ã¯ããå½ç¶ã®ãã¨ãå½ããåã®ããã«æ¸ãã¦ãã®ã§ãããã¾ãå½¹ã«ç«ããªãããããã¾ããã hardstatus alwayslastline ã§æçµè¡ã«ã¦ã£ã³ãã¦ä¸è¦§ã表示 ããã¯ä»åã®è³ªåã¨ã¯ç´æ¥é¢ä¿ãªãã®ã§ãããããã¨ãããªãã¨ã§ããªã使ãåæãéãã®ã§ã hardstatus alwaysl
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}