diff --git a/bin/pychecker.sh b/bin/pychecker.sh new file mode 100755 index 0000000..94aadea --- /dev/null +++ b/bin/pychecker.sh @@ -0,0 +1,3 @@ +#!/bin/bash +pyflakes $1 +pep8 --repeat $1 diff --git a/install.rb b/install.rb index 1ab84c7..10ce85f 100755 --- a/install.rb +++ b/install.rb @@ -6,7 +6,8 @@ home = File.expand_path('~') Dir['*'].each do |file| next if file =~ /install/ || file =~ /README/ - target = File.join(home, ".#{file}") + target_name = file == 'bin' ? file : ".#{file}" + target = File.join(home, target_name) unless File.exist? target `ln -vsf #{File.expand_path file} #{target}` else diff --git a/zshrc b/zshrc index 1e618ed..798a3d6 100644 --- a/zshrc +++ b/zshrc @@ -33,3 +33,4 @@ if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then fi export LSCOLORS="ExGxFxdxCxDxDxhbadExEx" +export PATH="/usr/local/share/python:$PATH"