Permalink
Browse files

add custom zsh stuff

  • Loading branch information...
1 parent d78fbb7 commit 4c082164a14ed3b7cdee1fc6ed158f10a56080db @plukevdh committed Dec 4, 2012
Showing with 9,457 additions and 4 deletions.
  1. +0 −3 .gitmodules
  2. +0 −1 home/.oh-my-zsh
  3. +9 −0 home/.oh-my-zsh/.gitignore
  4. +86 −0 home/.oh-my-zsh/README.textile
  5. +63 −0 home/.oh-my-zsh/custom/aliases.zsh
  6. +1 −0 home/.oh-my-zsh/custom/keys.zsh
  7. +8 −0 home/.oh-my-zsh/custom/makego.zsh
  8. +3 −0 home/.oh-my-zsh/custom/paths.zsh
  9. +10 −0 home/.oh-my-zsh/custom/stevie.zsh
  10. +24 −0 home/.oh-my-zsh/lib/aliases.zsh
  11. +72 −0 home/.oh-my-zsh/lib/completion.zsh
  12. +10 −0 home/.oh-my-zsh/lib/correction.zsh
  13. +44 −0 home/.oh-my-zsh/lib/directories.zsh
  14. +3 −0 home/.oh-my-zsh/lib/edit-command-line.zsh
  15. +17 −0 home/.oh-my-zsh/lib/functions.zsh
  16. +96 −0 home/.oh-my-zsh/lib/git.zsh
  17. +6 −0 home/.oh-my-zsh/lib/grep.zsh
  18. +13 −0 home/.oh-my-zsh/lib/history.zsh
  19. +50 −0 home/.oh-my-zsh/lib/key-bindings.zsh
  20. +13 −0 home/.oh-my-zsh/lib/misc.zsh
  21. +5 −0 home/.oh-my-zsh/lib/rvm.zsh
  22. +28 −0 home/.oh-my-zsh/lib/spectrum.zsh
  23. +35 −0 home/.oh-my-zsh/lib/termsupport.zsh
  24. +36 −0 home/.oh-my-zsh/lib/theme-and-appearance.zsh
  25. +4 −0 home/.oh-my-zsh/log/.easter-egg
  26. +75 −0 home/.oh-my-zsh/oh-my-zsh.sh
  27. +26 −0 home/.oh-my-zsh/plugins/ant/ant.plugin.zsh
  28. +6 −0 home/.oh-my-zsh/plugins/apache2-macports/apache2-macports.plugin.zsh
  29. +77 −0 home/.oh-my-zsh/plugins/archlinux/archlinux.plugin.zsh
  30. +11 −0 home/.oh-my-zsh/plugins/autojump/autojump.plugin.zsh
  31. +20 −0 home/.oh-my-zsh/plugins/battery/battery.plugin.zsh
  32. +80 −0 home/.oh-my-zsh/plugins/brew/_brew
  33. +1 −0 home/.oh-my-zsh/plugins/brew/brew.plugin.zsh
  34. +82 −0 home/.oh-my-zsh/plugins/bundler/_bundler
  35. +42 −0 home/.oh-my-zsh/plugins/bundler/bundler.plugin.zsh
  36. +36 −0 home/.oh-my-zsh/plugins/cake/cake.plugin.zsh
  37. +41 −0 home/.oh-my-zsh/plugins/cap/cap.plugin.zsh
  38. +2 −0 home/.oh-my-zsh/plugins/cloudapp/cloudapp.plugin.zsh
  39. +60 −0 home/.oh-my-zsh/plugins/cloudapp/cloudapp.rb
  40. +6 −0 home/.oh-my-zsh/plugins/colemak/colemak-less
  41. +22 −0 home/.oh-my-zsh/plugins/colemak/colemak.plugin.zsh
  42. +5 −0 home/.oh-my-zsh/plugins/command-not-found/command-not-found.plugin.zsh
  43. +20 −0 home/.oh-my-zsh/plugins/compleat/compleat.plugin.zsh
  44. +29 −0 home/.oh-my-zsh/plugins/composer/composer.plugin.zsh
  45. +67 −0 home/.oh-my-zsh/plugins/cpanm/_cpanm
  46. +184 −0 home/.oh-my-zsh/plugins/debian/debian.plugin.zsh
  47. +10 −0 home/.oh-my-zsh/plugins/dircycle/dircycle.plugin.zsh
  48. +39 −0 home/.oh-my-zsh/plugins/dirpersist/dirpersist.plugin.zsh
  49. +223 −0 home/.oh-my-zsh/plugins/django/django.plugin.zsh
  50. +2 −0 home/.oh-my-zsh/plugins/encode64/encode64.plugin.zsh
  51. +8 −0 home/.oh-my-zsh/plugins/extract/_extract
  52. +80 −0 home/.oh-my-zsh/plugins/extract/extract.plugin.zsh
  53. +6 −0 home/.oh-my-zsh/plugins/fasd/fasd.plugin.zsh
  54. +34 −0 home/.oh-my-zsh/plugins/gas/_gas
  55. +64 −0 home/.oh-my-zsh/plugins/gem/_gem
  56. +336 −0 home/.oh-my-zsh/plugins/git-flow/git-flow.plugin.zsh
  57. +69 −0 home/.oh-my-zsh/plugins/git/git.plugin.zsh
  58. +40 −0 home/.oh-my-zsh/plugins/github/_github
  59. +70 −0 home/.oh-my-zsh/plugins/github/github.plugin.zsh
  60. +80 −0 home/.oh-my-zsh/plugins/gnu-utils/gnu-utils.plugin.zsh
  61. +26 −0 home/.oh-my-zsh/plugins/gpg-agent/gpg-agent.plugin.zsh
  62. +119 −0 home/.oh-my-zsh/plugins/gradle/gradle.plugin.zsh
  63. +54 −0 home/.oh-my-zsh/plugins/grails/grails.plugin.zsh
  64. +158 −0 home/.oh-my-zsh/plugins/heroku/_heroku
  65. +7 −0 home/.oh-my-zsh/plugins/history-substring-search/README
  66. +12 −0 home/.oh-my-zsh/plugins/history-substring-search/history-substring-search.plugin.zsh
  67. +642 −0 home/.oh-my-zsh/plugins/history-substring-search/history-substring-search.zsh
  68. +14 −0 home/.oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh
  69. +22 −0 home/.oh-my-zsh/plugins/jira/jira.plugin.zsh
  70. +4 −0 home/.oh-my-zsh/plugins/jruby/jruby.plugin.zsh
  71. +9 −0 home/.oh-my-zsh/plugins/kate/kate.plugin.zsh
  72. +181 −0 home/.oh-my-zsh/plugins/knife/_knife
  73. +40 −0 home/.oh-my-zsh/plugins/laravel/_artisan
  74. +3 −0 home/.oh-my-zsh/plugins/laravel/laravel.plugin.zsh
  75. +27 −0 home/.oh-my-zsh/plugins/lein/lein.plugin.zsh
  76. +16 −0 home/.oh-my-zsh/plugins/lighthouse/lighthouse.plugin.zsh
  77. +37 −0 home/.oh-my-zsh/plugins/lol/lol.plugin.zsh
  78. +89 −0 home/.oh-my-zsh/plugins/macports/_port
  79. +8 −0 home/.oh-my-zsh/plugins/macports/macports.plugin.zsh
  80. +14 −0 home/.oh-my-zsh/plugins/mercurial/mercurial.plugin.zsh
  81. +6 −0 home/.oh-my-zsh/plugins/mvn/mvn.plugin.zsh
  82. +8 −0 home/.oh-my-zsh/plugins/mysql-macports/mysql-macports.plugin.zsh
  83. +44 −0 home/.oh-my-zsh/plugins/nanoc/_nanoc
  84. +9 −0 home/.oh-my-zsh/plugins/nanoc/nanoc.plugin.zsh
  85. +5 −0 home/.oh-my-zsh/plugins/node/node.plugin.zsh
  86. +1 −0 home/.oh-my-zsh/plugins/npm/npm.plugin.zsh
  87. +5 −0 home/.oh-my-zsh/plugins/nyan/nyan.plugin.zsh
  88. +5 −0 home/.oh-my-zsh/plugins/osx/_man-preview
  89. +99 −0 home/.oh-my-zsh/plugins/osx/osx.plugin.zsh
  90. +148 −0 home/.oh-my-zsh/plugins/per-directory-history/per-directory-history.plugin.zsh
  91. +62 −0 home/.oh-my-zsh/plugins/perl/perl.plugin.zsh
  92. +19 −0 home/.oh-my-zsh/plugins/phing/phing.plugin.zsh
  93. +74 −0 home/.oh-my-zsh/plugins/pip/_pip
  94. +66 −0 home/.oh-my-zsh/plugins/pow/pow.plugin.zsh
  95. +4 −0 home/.oh-my-zsh/plugins/powder/_powder
  96. +8 −0 home/.oh-my-zsh/plugins/python/python.plugin.zsh
  97. +14 −0 home/.oh-my-zsh/plugins/rails/rails.plugin.zsh
  98. +23 −0 home/.oh-my-zsh/plugins/rails3/rails3.plugin.zsh
  99. +6 −0 home/.oh-my-zsh/plugins/rake/rake.plugin.zsh
  100. +57 −0 home/.oh-my-zsh/plugins/rbenv/rbenv.plugin.zsh
  101. +42 −0 home/.oh-my-zsh/plugins/rbfu/rbfu.plugin.zsh
  102. +142 −0 home/.oh-my-zsh/plugins/redis-cli/_redis-cli
  103. +6 −0 home/.oh-my-zsh/plugins/ruby/ruby.plugin.zsh
  104. +147 −0 home/.oh-my-zsh/plugins/rvm/_rvm
  105. +44 −0 home/.oh-my-zsh/plugins/rvm/rvm.plugin.zsh
  106. +54 −0 home/.oh-my-zsh/plugins/screen/screen.plugin.zsh
  107. +64 −0 home/.oh-my-zsh/plugins/sprunge/sprunge.plugin.zsh
  108. +62 −0 home/.oh-my-zsh/plugins/ssh-agent/ssh-agent.plugin.zsh
  109. +9 −0 home/.oh-my-zsh/plugins/sublime/sublime.plugin.zsh
  110. +136 −0 home/.oh-my-zsh/plugins/supervisor/_supervisorctl
  111. +32 −0 home/.oh-my-zsh/plugins/supervisor/_supervisord
  112. +1 −0 home/.oh-my-zsh/plugins/supervisor/supervisor.plugin.zsh
  113. +7 −0 home/.oh-my-zsh/plugins/suse/suse.plugin.zsh
  114. +42 −0 home/.oh-my-zsh/plugins/svn/svn.plugin.zsh
  115. +17 −0 home/.oh-my-zsh/plugins/symfony2/symfony2.plugin.zsh
  116. +248 −0 home/.oh-my-zsh/plugins/taskwarrior/_task
  117. +21 −0 home/.oh-my-zsh/plugins/taskwarrior/taskwarrior.plugin.zsh
  118. +11 −0 home/.oh-my-zsh/plugins/terminalapp/terminalapp.plugin.zsh
  119. +38 −0 home/.oh-my-zsh/plugins/terminitor/_terminitor
  120. +12 −0 home/.oh-my-zsh/plugins/textmate/textmate.plugin.zsh
  121. +4 −0 home/.oh-my-zsh/plugins/thor/_thor
  122. +9 −0 home/.oh-my-zsh/plugins/urltools/urltools.plugin.zsh
  123. +104 −0 home/.oh-my-zsh/plugins/vagrant/_vagrant
  124. +27 −0 home/.oh-my-zsh/plugins/vi-mode/vi-mode.plugin.zsh
  125. +46 −0 home/.oh-my-zsh/plugins/virtualenvwrapper/virtualenvwrapper.plugin.zsh
  126. +23 −0 home/.oh-my-zsh/plugins/vundle/vundle.plugin.zsh
  127. +29 −0 home/.oh-my-zsh/plugins/wakeonlan/README
  128. +4 −0 home/.oh-my-zsh/plugins/wakeonlan/_wake
  129. +14 −0 home/.oh-my-zsh/plugins/wakeonlan/wakeonlan.plugin.zsh
  130. +16 −0 home/.oh-my-zsh/plugins/yum/yum.plugin.zsh
  131. +41 −0 home/.oh-my-zsh/plugins/zeus/README.md
  132. +58 −0 home/.oh-my-zsh/plugins/zeus/zeus.plugin.zsh
  133. +36 −0 home/.oh-my-zsh/templates/zshrc.zsh-template
  134. +7 −0 home/.oh-my-zsh/themes/3den.zsh-theme
  135. +86 −0 home/.oh-my-zsh/themes/Soliah.zsh-theme
  136. +36 −0 home/.oh-my-zsh/themes/af-magic.zsh-theme
  137. +10 −0 home/.oh-my-zsh/themes/afowler.zsh-theme
  138. +115 −0 home/.oh-my-zsh/themes/agnoster.zsh-theme
  139. +28 −0 home/.oh-my-zsh/themes/alanpeabody.zsh-theme
  140. +29 −0 home/.oh-my-zsh/themes/apple.zsh-theme
  141. +14 −0 home/.oh-my-zsh/themes/arrow.zsh-theme
  142. +8 −0 home/.oh-my-zsh/themes/aussiegeek.zsh-theme
  143. +18 −0 home/.oh-my-zsh/themes/awesomepanda.zsh-theme
  144. +21 −0 home/.oh-my-zsh/themes/bira.zsh-theme
  145. +20 −0 home/.oh-my-zsh/themes/blinks.zsh-theme
  146. +7 −0 home/.oh-my-zsh/themes/candy.zsh-theme
  147. +14 −0 home/.oh-my-zsh/themes/clean.zsh-theme
  148. +6 −0 home/.oh-my-zsh/themes/cloud.zsh-theme
  149. +43 −0 home/.oh-my-zsh/themes/crunch.zsh-theme
  150. +4 −0 home/.oh-my-zsh/themes/cypher.zsh-theme
  151. +32 −0 home/.oh-my-zsh/themes/dallas.zsh-theme
  152. +9 −0 home/.oh-my-zsh/themes/darkblood.zsh-theme
  153. +7 −0 home/.oh-my-zsh/themes/daveverwer.zsh-theme
  154. +56 −0 home/.oh-my-zsh/themes/dieter.zsh-theme
  155. +85 −0 home/.oh-my-zsh/themes/dogenpunk.zsh-theme
  156. +14 −0 home/.oh-my-zsh/themes/dpoggi.zsh-theme
  157. +16 −0 home/.oh-my-zsh/themes/dst.zsh-theme
  158. +19 −0 home/.oh-my-zsh/themes/dstufft.zsh-theme
  159. +8 −0 home/.oh-my-zsh/themes/duellj.zsh-theme
  160. +23 −0 home/.oh-my-zsh/themes/eastwood.zsh-theme
  161. +6 −0 home/.oh-my-zsh/themes/edvardm.zsh-theme
  162. +2 −0 home/.oh-my-zsh/themes/evan.zsh-theme
  163. +5 −0 home/.oh-my-zsh/themes/example.zsh-theme
  164. +39 −0 home/.oh-my-zsh/themes/fino-time.zsh-theme
  165. +46 −0 home/.oh-my-zsh/themes/fino.zsh-theme
  166. +20 −0 home/.oh-my-zsh/themes/fishy.zsh-theme
  167. +19 −0 home/.oh-my-zsh/themes/flazz.zsh-theme
  168. +12 −0 home/.oh-my-zsh/themes/fletcherm.zsh-theme
  169. +8 −0 home/.oh-my-zsh/themes/fox.zsh-theme
  170. +10 −0 home/.oh-my-zsh/themes/frisk.zsh-theme
  171. +14 −0 home/.oh-my-zsh/themes/funky.zsh-theme
  172. +6 −0 home/.oh-my-zsh/themes/fwalch.zsh-theme
  173. +8 −0 home/.oh-my-zsh/themes/gallifrey.zsh-theme
  174. +25 −0 home/.oh-my-zsh/themes/gallois.zsh-theme
  175. +6 −0 home/.oh-my-zsh/themes/garyblessington.zsh-theme
  176. +4 −0 home/.oh-my-zsh/themes/gentoo.zsh-theme
  177. +5 −0 home/.oh-my-zsh/themes/geoffgarside.zsh-theme
  178. +54 −0 home/.oh-my-zsh/themes/gnzh.zsh-theme
  179. +15 −0 home/.oh-my-zsh/themes/gozilla.zsh-theme
  180. +26 −0 home/.oh-my-zsh/themes/humza.zsh-theme
  181. +5 −0 home/.oh-my-zsh/themes/imajes.zsh-theme
  182. +6 −0 home/.oh-my-zsh/themes/jbergantine.zsh-theme
  183. +4 −0 home/.oh-my-zsh/themes/jispwoso.zsh-theme
  184. +38 −0 home/.oh-my-zsh/themes/jnrowe.zsh-theme
  185. +141 −0 home/.oh-my-zsh/themes/jonathan.zsh-theme
  186. +43 −0 home/.oh-my-zsh/themes/josh.zsh-theme
  187. +16 −0 home/.oh-my-zsh/themes/jreese.zsh-theme
  188. +8 −0 home/.oh-my-zsh/themes/jtriley.zsh-theme
  189. +46 −0 home/.oh-my-zsh/themes/juanghurtado.zsh-theme
  190. +12 −0 home/.oh-my-zsh/themes/kardan.zsh-theme
  191. +13 −0 home/.oh-my-zsh/themes/kennethreitz.zsh-theme
  192. +24 −0 home/.oh-my-zsh/themes/kolo.zsh-theme
  193. +50 −0 home/.oh-my-zsh/themes/kphoen.zsh-theme
  194. +6 −0 home/.oh-my-zsh/themes/lambda.zsh-theme
  195. +80 −0 home/.oh-my-zsh/themes/linuxonly
  196. +24 −0 home/.oh-my-zsh/themes/lukerandall.zsh-theme
  197. +15 −0 home/.oh-my-zsh/themes/macovsky-ruby.zsh-theme
  198. +14 −0 home/.oh-my-zsh/themes/macovsky.zsh-theme
  199. +6 −0 home/.oh-my-zsh/themes/maran.zsh-theme
  200. +6 −0 home/.oh-my-zsh/themes/mgutz.zsh-theme
  201. +24 −0 home/.oh-my-zsh/themes/mh.zsh-theme
  202. +23 −0 home/.oh-my-zsh/themes/mikeh.zsh-theme
  203. +8 −0 home/.oh-my-zsh/themes/miloshadzic.zsh-theme
  204. +15 −0 home/.oh-my-zsh/themes/minimal.zsh-theme
  205. +58 −0 home/.oh-my-zsh/themes/mortalscumbag.zsh-theme
  206. +7 −0 home/.oh-my-zsh/themes/mrtazz.zsh-theme
  207. +14 −0 home/.oh-my-zsh/themes/murilasso.zsh-theme
  208. +30 −0 home/.oh-my-zsh/themes/muse.zsh-theme
  209. +7 −0 home/.oh-my-zsh/themes/nanotech.zsh-theme
  210. +21 −0 home/.oh-my-zsh/themes/nebirhos.zsh-theme
  211. +43 −0 home/.oh-my-zsh/themes/nicoulaj.zsh-theme
  212. +4 −0 home/.oh-my-zsh/themes/norm.zsh-theme
  213. +11 −0 home/.oh-my-zsh/themes/obraun.zsh-theme
  214. +14 −0 home/.oh-my-zsh/themes/philips.zsh-theme
  215. +16 −0 home/.oh-my-zsh/themes/pmcgee.zsh-theme
  216. +9 −0 home/.oh-my-zsh/themes/pygmalion.zsh-theme
  217. +15 −0 home/.oh-my-zsh/themes/re5et.zsh-theme
  218. +8 −0 home/.oh-my-zsh/themes/rgm.zsh-theme
  219. +6 −0 home/.oh-my-zsh/themes/risto.zsh-theme
  220. +24 −0 home/.oh-my-zsh/themes/rixius.zsh-theme
  221. +29 −0 home/.oh-my-zsh/themes/rkj-repos.zsh-theme
  222. +8 −0 home/.oh-my-zsh/themes/rkj.zsh-theme
  223. +6 −0 home/.oh-my-zsh/themes/robbyrussell.zsh-theme
  224. +6 −0 home/.oh-my-zsh/themes/sammy.zsh-theme
  225. +6 −0 home/.oh-my-zsh/themes/simple.zsh-theme
  226. +7 −0 home/.oh-my-zsh/themes/skaro.zsh-theme
  227. +91 −0 home/.oh-my-zsh/themes/smt.zsh-theme
  228. +48 −0 home/.oh-my-zsh/themes/sorin.zsh-theme
  229. +13 −0 home/.oh-my-zsh/themes/sporty_256.zsh-theme
  230. +100 −0 home/.oh-my-zsh/themes/steeef.zsh-theme
  231. +26 −0 home/.oh-my-zsh/themes/sunaku.zsh-theme
  232. +96 −0 home/.oh-my-zsh/themes/sunrise.zsh-theme
  233. +24 −0 home/.oh-my-zsh/themes/superjarin.zsh-theme
  234. +30 −0 home/.oh-my-zsh/themes/suvash.zsh-theme
  235. +27 −0 home/.oh-my-zsh/themes/takashiyoshida.zsh-theme
  236. +9 −0 home/.oh-my-zsh/themes/terminalparty.zsh-theme
  237. +16 −0 home/.oh-my-zsh/themes/theunraveler.zsh-theme
  238. +15 −0 home/.oh-my-zsh/themes/tjkirch.zsh-theme
  239. +12 −0 home/.oh-my-zsh/themes/tonotdo.zsh-theme
  240. +95 −0 home/.oh-my-zsh/themes/trapd00r.zsh-theme
  241. +107 −0 home/.oh-my-zsh/themes/wedisagree.zsh-theme
  242. +7 −0 home/.oh-my-zsh/themes/wezm+.zsh-theme
  243. +7 −0 home/.oh-my-zsh/themes/wezm.zsh-theme
  244. +5 −0 home/.oh-my-zsh/themes/wuffers.zsh-theme
  245. +6 −0 home/.oh-my-zsh/themes/xiong-chiamiov-plus.zsh-theme
  246. +6 −0 home/.oh-my-zsh/themes/xiong-chiamiov.zsh-theme
  247. +15 −0 home/.oh-my-zsh/themes/zhann.zsh-theme
  248. +46 −0 home/.oh-my-zsh/tools/check_for_upgrade.sh
  249. +39 −0 home/.oh-my-zsh/tools/install.sh
  250. +161 −0 home/.oh-my-zsh/tools/require_tool.sh
  251. +96 −0 home/.oh-my-zsh/tools/theme_chooser.sh
  252. +20 −0 home/.oh-my-zsh/tools/uninstall.sh
  253. +19 −0 home/.oh-my-zsh/tools/upgrade.sh
View
@@ -1,3 +0,0 @@
-[submodule "home/.oh-my-zsh"]
- path = home/.oh-my-zsh
- url = git://github.com/robbyrussell/oh-my-zsh.git
Submodule .oh-my-zsh deleted from b9f020
@@ -0,0 +1,9 @@
+locals.zsh
+log/.zsh_history
+projects.zsh
+!custom/*
+custom/example
+custom/example.zsh
+*.swp
+!custom/example.zshcache
+cache/
@@ -0,0 +1,86 @@
+A handful of functions, auto-complete helpers, and stuff that makes you shout...
+
+
+bq. "OH MY ZSHELL!"
+
+h2. Setup
+
+@oh-my-zsh@ should work with any recent release of "zsh":http://www.zsh.org/, the minimum recommended version is 4.3.9.
+
+h3. The automatic installer... (do you trust me?)
+
+You can install this via the command line with either `curl` or `wget`.
+
+h4. via `curl`
+
+@curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh@
+
+h4. via `wget`
+
+@wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh@
+
+h3. The manual way
+
+
+1. Clone the repository
+
+ @git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh@
+
+2. Create a new zsh config by copying the zsh template we've provided.
+
+ *NOTE*: If you already have a ~/.zshrc file, you should back it up. @cp ~/.zshrc ~/.zshrc.orig@ in case you want to go back to your original settings.
+
+ @cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc@
+
+3. Set zsh as your default shell:
+
+ @chsh -s /bin/zsh@
+
+4. Start / restart zsh (open a new terminal is easy enough...)
+
+h3. Problems?
+
+You _might_ need to modify your PATH in ~/.zshrc if you're not able to find some commands after switching to _Oh My Zsh_.
+
+h2. Usage
+
+* enable the plugins you want in your @~/.zshrc@ (take a look at @plugins/@ to see what's possible)
+** example: @plugins=(git osx ruby)@
+* Theme support: Change the @ZSH_THEME@ environment variable in @~/.zshrc@.
+** Take a look at the "current themes":https://wiki.github.com/robbyrussell/oh-my-zsh/themes that come bundled with _Oh My Zsh_.
+* much much more... take a look at @lib/@ what _Oh My Zsh_ offers...
+
+h2. Useful
+
+the "refcard":http://www.bash2zsh.com/zsh_refcard/refcard.pdf is pretty tasty for tips.
+
+h3. Customization
+
+If you want to override any of the default behavior, just add a new file (ending in @.zsh@) into the @custom/@ directory.
+If you have many functions which go well together you can put them as a *.plugin.zsh file in the @custom/plugins/@ directory and then enable this plugin.
+If you would like to override the functionality of a plugin distributed with oh-my-zsh, create a plugin of the same name in the @custom/plugins/@ directory and it will be loaded instead of the one in @plugins/@.
+
+
+h3. Uninstalling
+
+If you want to uninstall it, just run @uninstall_oh_my_zsh@ from the command line and it'll remove itself and revert you to bash (or your previous zsh config).
+
+h2. Help out!
+
+I'm far from being a zsh-expert and suspect there are many ways to improve. If you have ideas on how to make the configuration easier to maintain (and faster), don't hesitate to fork and send pull requests!
+
+h3. (Don't) Send us your theme! (for now)
+
+-I'm hoping to collect a bunch of themes for our command prompts. You can see existing ones in the @themes/@ directory.-
+
+We have enough themes for the time being. Please fork the project and add on in there, you can let people know how to grab it from there.
+
+
+
+h2. Contributors
+
+This project wouldn't exist without all of our awesome users and contributors.
+
+* "View our growing list of contributors":https://github.com/robbyrussell/oh-my-zsh/contributors
+
+Thank you so much!
@@ -0,0 +1,63 @@
+function ruby_or_irb() {
+ if [[ "$1" == "" ]]; then
+ irb
+ else
+ ruby "$@"
+ fi
+}
+
+function kill_all_jobs() {
+ jobs -p |
+ sed 's/^\[[0-9]*\][ |+|-]*\([0-9]*\).*$/\1/' |
+ xargs -n1 kill $1
+}
+
+# alias ruby=ruby_or_irb
+alias r=rails
+alias p=passenger
+function git(){hub "$@"}
+alias :e=vim
+alias :q=exit
+
+# GIT ALIASES
+alias glog='git log --graph --pretty=format:"%h %aN %Cred%d %Cblue%s"'
+alias gsp='git stash ; git pull --rebase ; git stash pop'
+alias gpp='git pull ; git push'
+alias gdt='git difftool'
+
+alias slrn="slrn -n"
+alias man='LC_ALL=C LANG=C man'
+alias f=finger
+alias ll='ls -al'
+alias ls='ls -G '
+alias offlineimap-tty='offlineimap -u TTY.TTYUI'
+alias hnb-partecs='hnb $HOME/partecs/partecs-hnb.xml'
+alias rest2html-css='rst2html --embed-stylesheet --stylesheet-path=/usr/share/python-docutils/s5_html/themes/default/print.css'
+alias vim='/Applications/MacVim.app/Contents/MacOS/Vim'
+
+autoload -U edit-command-line
+zle -N edit-command-line
+bindkey -M vicmd v edit-command-line
+
+# hub tab-completion script for zsh.
+# This script complements the completion script that ships with git.
+#
+# vim: ft=zsh sw=2 ts=2 et
+
+# Autoload _git completion functions
+if declare -f _git > /dev/null; then
+ _git
+fi
+
+if declare -f _git_commands > /dev/null; then
+ _hub_commands=(
+ 'alias:show shell instructions for wrapping git'
+ 'pull-request:open a pull request on GitHub'
+ 'fork:fork origin repo on GitHub'
+ 'create:create new repo on GitHub for the current project'
+ 'browse:browse the project on GitHub'
+ 'compare:open GitHub compare view'
+ )
+ # Extend the '_git_commands' function with hub commands
+ eval "$(declare -f _git_commands | sed -e 's/base_commands=(/base_commands=(${_hub_commands} /')"
+fi
@@ -0,0 +1 @@
+export BINGAPP=16E70A804D578CA2104ED3261E73C09823ED64C4
@@ -0,0 +1,8 @@
+makego() {
+ basename="`echo $1 | sed "s/\.go//"`"
+
+ 6g $1
+ 6l -o $basename.out $basename.6
+
+ echo "Output: $basename.out"
+}
@@ -0,0 +1,3 @@
+rails=~/Code/Rails
+ruby=~/Code/Ruby
+projects=~/Code/Projects
@@ -0,0 +1,10 @@
+# takes a server and a process to restart
+restart_remote() {
+ echo "Restarting $2 on $1..."
+ ssh -t $1 "sudo restart $2"
+}
+
+# restarts stevie
+restart_stevie() {
+ restart_remote 'webby-one' 'stevie-bot'
+}
@@ -0,0 +1,24 @@
+# Push and pop directories on directory stack
+alias pu='pushd'
+alias po='popd'
+
+# Basic directory operations
+alias ...='cd ../..'
+alias -- -='cd -'
+
+# Super user
+alias _='sudo'
+
+#alias g='grep -in'
+
+# Show history
+alias history='fc -l 1'
+
+# List direcory contents
+alias lsa='ls -lah'
+alias l='ls -la'
+alias ll='ls -l'
+alias sl=ls # often screw this up
+
+alias afind='ack-grep -il'
+
@@ -0,0 +1,72 @@
+# fixme - the load process here seems a bit bizarre
+
+unsetopt menu_complete # do not autoselect the first completion entry
+unsetopt flowcontrol
+setopt auto_menu # show completion menu on succesive tab press
+setopt complete_in_word
+setopt always_to_end
+
+WORDCHARS=''
+
+zmodload -i zsh/complist
+
+## case-insensitive (all),partial-word and then substring completion
+if [ "x$CASE_SENSITIVE" = "xtrue" ]; then
+ zstyle ':completion:*' matcher-list 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
+ unset CASE_SENSITIVE
+else
+ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
+fi
+
+zstyle ':completion:*' list-colors ''
+
+# should this be in keybindings?
+bindkey -M menuselect '^o' accept-and-infer-next-history
+
+zstyle ':completion:*:*:*:*:*' menu select
+zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#) ([0-9a-z-]#)*=01;34=0=01'
+zstyle ':completion:*:*:*:*:processes' command "ps -u `whoami` -o pid,user,comm -w -w"
+
+# disable named-directories autocompletion
+zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories
+cdpath=(.)
+
+# use /etc/hosts and known_hosts for hostname completion
+[ -r /etc/ssh/ssh_known_hosts ] && _global_ssh_hosts=(${${${${(f)"$(</etc/ssh/ssh_known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
+[ -r ~/.ssh/known_hosts ] && _ssh_hosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[\|]*}%%\ *}%%,*}) || _ssh_hosts=()
+[ -r /etc/hosts ] && : ${(A)_etc_hosts:=${(s: :)${(ps:\t:)${${(f)~~"$(</etc/hosts)"}%%\#*}##[:blank:]#[^[:blank:]]#}}} || _etc_hosts=()
+hosts=(
+ "$_global_ssh_hosts[@]"
+ "$_ssh_hosts[@]"
+ "$_etc_hosts[@]"
+ "$HOST"
+ localhost
+)
+zstyle ':completion:*:hosts' hosts $hosts
+
+# Use caching so that commands like apt and dpkg complete are useable
+zstyle ':completion::complete:*' use-cache 1
+zstyle ':completion::complete:*' cache-path $ZSH/cache/
+
+# Don't complete uninteresting users
+zstyle ':completion:*:*:*:users' ignored-patterns \
+ adm amanda apache avahi beaglidx bin cacti canna clamav daemon \
+ dbus distcache dovecot fax ftp games gdm gkrellmd gopher \
+ hacluster haldaemon halt hsqldb ident junkbust ldap lp mail \
+ mailman mailnull mldonkey mysql nagios \
+ named netdump news nfsnobody nobody nscd ntp nut nx openvpn \
+ operator pcap postfix postgres privoxy pulse pvm quagga radvd \
+ rpc rpcuser rpm shutdown squid sshd sync uucp vcsa xfs
+
+# ... unless we really want to.
+zstyle '*' single-ignored show
+
+if [ "x$COMPLETION_WAITING_DOTS" = "xtrue" ]; then
+ expand-or-complete-with-dots() {
+ echo -n "\e[31m......\e[0m"
+ zle expand-or-complete
+ zle redisplay
+ }
+ zle -N expand-or-complete-with-dots
+ bindkey "^I" expand-or-complete-with-dots
+fi
@@ -0,0 +1,10 @@
+setopt correct_all
+
+alias man='nocorrect man'
+alias mv='nocorrect mv'
+alias mysql='nocorrect mysql'
+alias mkdir='nocorrect mkdir'
+alias gist='nocorrect gist'
+alias heroku='nocorrect heroku'
+alias ebuild='nocorrect ebuild'
+alias hpodder='nocorrect hpodder'
@@ -0,0 +1,44 @@
+# Changing/making/removing directory
+setopt auto_name_dirs
+setopt auto_pushd
+setopt pushd_ignore_dups
+
+alias ..='cd ..'
+alias cd..='cd ..'
+alias cd...='cd ../..'
+alias cd....='cd ../../..'
+alias cd.....='cd ../../../..'
+alias cd/='cd /'
+
+alias 1='cd -'
+alias 2='cd +2'
+alias 3='cd +3'
+alias 4='cd +4'
+alias 5='cd +5'
+alias 6='cd +6'
+alias 7='cd +7'
+alias 8='cd +8'
+alias 9='cd +9'
+
+cd () {
+ if [[ "x$*" == "x..." ]]; then
+ cd ../..
+ elif [[ "x$*" == "x...." ]]; then
+ cd ../../..
+ elif [[ "x$*" == "x....." ]]; then
+ cd ../../..
+ elif [[ "x$*" == "x......" ]]; then
+ cd ../../../..
+ else
+ builtin cd "$@"
+ fi
+}
+
+alias md='mkdir -p'
+alias rd=rmdir
+alias d='dirs -v | head -10'
+
+# mkdir & cd to it
+function mcd() {
+ mkdir -p "$1" && cd "$1";
+}
@@ -0,0 +1,3 @@
+autoload -U edit-command-line
+zle -N edit-command-line
+bindkey '\C-x\C-e' edit-command-line
@@ -0,0 +1,17 @@
+function zsh_stats() {
+ history | awk '{print $2}' | sort | uniq -c | sort -rn | head
+}
+
+function uninstall_oh_my_zsh() {
+ /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/uninstall.sh
+}
+
+function upgrade_oh_my_zsh() {
+ /usr/bin/env ZSH=$ZSH /bin/sh $ZSH/tools/upgrade.sh
+}
+
+function take() {
+ mkdir -p $1
+ cd $1
+}
+
Oops, something went wrong. Retry.

0 comments on commit 4c08216

Please sign in to comment.