pychecker (for flymake, specifically)

modify install.rb to special case ~/bin
This commit is contained in:
James Walker 2011-04-19 17:58:48 -04:00
parent fdb9d238bc
commit 18f00d485a
3 changed files with 6 additions and 1 deletions

3
bin/pychecker.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
pyflakes $1
pep8 --repeat $1

View File

@ -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

1
zshrc
View File

@ -33,3 +33,4 @@ if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
fi
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"
export PATH="/usr/local/share/python:$PATH"