Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

the link needs to do more, so renaming it setup

  • Loading branch information...
commit 27611d75e5b3fc001c97c14ab377576118b1364f 1 parent dc21fa8
Paul Woolcock authored

Showing 3 changed files with 174 additions and 35 deletions. Show diff stats Hide diff stats

  1. +132 0 brews.txt
  2. +0 35 link
  3. +42 0 setup
132 brews.txt
... ... @@ -0,0 +1,132 @@
  1 +ack
  2 +aspell
  3 +atk
  4 +boost
  5 +cairo
  6 +cake
  7 +clisp
  8 +clojure
  9 +clojure-contrib
  10 +closure-compiler
  11 +cmake
  12 +coffee-script
  13 +coreutils
  14 +cowsay
  15 +dmd
  16 +docbook
  17 +emacs
  18 +erlang
  19 +faac
  20 +faad2
  21 +ffmpeg
  22 +fish
  23 +flac
  24 +freetds
  25 +gawk
  26 +gd
  27 +gdbm
  28 +gdk-pixbuf
  29 +gettext
  30 +gfortran
  31 +ghostscript
  32 +git-flow
  33 +glib
  34 +gnu-sed
  35 +gnupg
  36 +gnutls
  37 +gtk+
  38 +icu4c
  39 +imagemagick
  40 +intltool
  41 +irssi
  42 +jasper
  43 +jpeg
  44 +lame
  45 +leiningen
  46 +lesspipe
  47 +libao
  48 +libebml
  49 +libevent
  50 +libffi
  51 +libgcrypt
  52 +libgpg-error
  53 +libiconv
  54 +libmatroska
  55 +libmemcached
  56 +libmikmod
  57 +libogg
  58 +libpng
  59 +libsigsegv
  60 +libtasn1
  61 +libtiff
  62 +libvorbis
  63 +libvpx
  64 +libwmf
  65 +libyaml
  66 +llvm
  67 +lolcode
  68 +lynx
  69 +lzo
  70 +macvim
  71 +mad
  72 +maven
  73 +mcrypt
  74 +md5sha1sum
  75 +memcached
  76 +mkvtoolnix
  77 +multimarkdown
  78 +mysql
  79 +node
  80 +npm
  81 +nspr
  82 +objective-caml
  83 +ossp-uuid
  84 +p7zip
  85 +pango
  86 +parallel
  87 +pcre
  88 +pianobar
  89 +pidof
  90 +pixman
  91 +pkg-config
  92 +plt-racket
  93 +portmidi
  94 +postgresql
  95 +python3
  96 +r
  97 +rbenv
  98 +readline
  99 +redis
  100 +redis-tools
  101 +repl
  102 +rlwrap
  103 +ruby-build
  104 +safe-rm
  105 +sbt
  106 +scons
  107 +sdl
  108 +sdl_gfx
  109 +sdl_image
  110 +sdl_mixer
  111 +sdl_net
  112 +sdl_sound
  113 +sdl_ttf
  114 +smpeg
  115 +solr
  116 +spidermonkey
  117 +sqlite
  118 +sshuttle
  119 +swig
  120 +theora
  121 +tree
  122 +unixodbc
  123 +v8
  124 +valgrind
  125 +watch
  126 +wget
  127 +x264
  128 +xvid
  129 +xz
  130 +yasm
  131 +yuicompressor
  132 +zeromq
35 link
... ... @@ -1,35 +0,0 @@
42 setup
... ... @@ -0,0 +1,42 @@
  1 +#!/usr/bin/env python
  2 +
  3 +import os
  4 +import subprocess
  5 +import sys
  6 +try:
  7 + import argparse
  8 + ARGPARSE = True
  9 +except ImportError:
  10 + import optparse
  11 + ARGPARSE = False
  12 +
  13 +class dotfiles(object):
  14 + EXCLUDE = (u".git", u".gitignore", u"link", u"README")
  15 + def _files(self, path):
  16 + listdir = (os.path.basename(a) for a in os.listdir(path))
  17 + for file_ in listdir:
  18 + if file_ not in self.EXCLUDE:
  19 + yield file_
  20 +
  21 + def make_links(self, from_, to):
  22 + to = os.path.expanduser(to)
  23 + for f in self._files(from_):
  24 + if not f.startswith(u"."):
  25 + f = u".{f}".format(f=f)
  26 + link_name = os.path.join(to, f)
  27 + print link_name
  28 + #rtn = os.symlink(f, link_name)
  29 +
  30 +class OhMyZsh(object):
  31 + def download(self):
  32 + pass
  33 + def install(self):
  34 + pass
  35 +
  36 +if __name__ == "__main__":
  37 + dir_ = unicode(sys.argv[1]) if len(sys.argv) > 1 else u"."
  38 + make_links(dir_, u"~")
  39 +
  40 +
  41 +
  42 +

0 comments on commit 27611d7

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