Skip to content
Browse files

the link needs to do more, so renaming it setup

  • Loading branch information...
1 parent dc21fa8 commit 27611d75e5b3fc001c97c14ab377576118b1364f Paul Woolcock committed Feb 7, 2012
Showing with 174 additions and 35 deletions.
  1. +132 −0 brews.txt
  2. +0 −35 link
  3. +42 −0 setup
View
132 brews.txt
@@ -0,0 +1,132 @@
+ack
+aspell
+atk
+boost
+cairo
+cake
+clisp
+clojure
+clojure-contrib
+closure-compiler
+cmake
+coffee-script
+coreutils
+cowsay
+dmd
+docbook
+emacs
+erlang
+faac
+faad2
+ffmpeg
+fish
+flac
+freetds
+gawk
+gd
+gdbm
+gdk-pixbuf
+gettext
+gfortran
+ghostscript
+git-flow
+glib
+gnu-sed
+gnupg
+gnutls
+gtk+
+icu4c
+imagemagick
+intltool
+irssi
+jasper
+jpeg
+lame
+leiningen
+lesspipe
+libao
+libebml
+libevent
+libffi
+libgcrypt
+libgpg-error
+libiconv
+libmatroska
+libmemcached
+libmikmod
+libogg
+libpng
+libsigsegv
+libtasn1
+libtiff
+libvorbis
+libvpx
+libwmf
+libyaml
+llvm
+lolcode
+lynx
+lzo
+macvim
+mad
+maven
+mcrypt
+md5sha1sum
+memcached
+mkvtoolnix
+multimarkdown
+mysql
+node
+npm
+nspr
+objective-caml
+ossp-uuid
+p7zip
+pango
+parallel
+pcre
+pianobar
+pidof
+pixman
+pkg-config
+plt-racket
+portmidi
+postgresql
+python3
+r
+rbenv
+readline
+redis
+redis-tools
+repl
+rlwrap
+ruby-build
+safe-rm
+sbt
+scons
+sdl
+sdl_gfx
+sdl_image
+sdl_mixer
+sdl_net
+sdl_sound
+sdl_ttf
+smpeg
+solr
+spidermonkey
+sqlite
+sshuttle
+swig
+theora
+tree
+unixodbc
+v8
+valgrind
+watch
+wget
+x264
+xvid
+xz
+yasm
+yuicompressor
+zeromq
View
35 link
@@ -1,35 +0,0 @@
-#!/usr/bin/env python
-
-import os
-import sys
-try:
- import argparse
- ARGPARSE = True
-except ImportError:
- import optparse
- ARGPARSE = False
-
-EXCLUDE = (u".git", u".gitignore", u"link", u"README")
-
-def files(path):
- listdir = (os.path.basename(a) for a in os.listdir(path))
- for file_ in listdir:
- if file_ not in EXCLUDE:
- yield file_
-
-def make_links(from_, to):
- to = os.path.expanduser(to)
- for f in files(from_):
- if not f.startswith(u"."):
- f = u".{f}".format(f=f)
- link_name = os.path.join(to, f)
- print link_name
- #rtn = os.symlink(f, link_name)
-
-if __name__ == "__main__":
- dir_ = unicode(sys.argv[1]) if len(sys.argv) > 1 else u"."
- make_links(dir_, u"~")
-
-
-
-
View
42 setup
@@ -0,0 +1,42 @@
+#!/usr/bin/env python
+
+import os
+import subprocess
+import sys
+try:
+ import argparse
+ ARGPARSE = True
+except ImportError:
+ import optparse
+ ARGPARSE = False
+
+class dotfiles(object):
+ EXCLUDE = (u".git", u".gitignore", u"link", u"README")
+ def _files(self, path):
+ listdir = (os.path.basename(a) for a in os.listdir(path))
+ for file_ in listdir:
+ if file_ not in self.EXCLUDE:
+ yield file_
+
+ def make_links(self, from_, to):
+ to = os.path.expanduser(to)
+ for f in self._files(from_):
+ if not f.startswith(u"."):
+ f = u".{f}".format(f=f)
+ link_name = os.path.join(to, f)
+ print link_name
+ #rtn = os.symlink(f, link_name)
+
+class OhMyZsh(object):
+ def download(self):
+ pass
+ def install(self):
+ pass
+
+if __name__ == "__main__":
+ dir_ = unicode(sys.argv[1]) if len(sys.argv) > 1 else u"."
+ make_links(dir_, u"~")
+
+
+
+

0 comments on commit 27611d7

Please sign in to comment.
Something went wrong with that request. Please try again.