Skip to content

Commit

Permalink
Merge pull request pitluga#5 from rodrigopr/patch-1
Browse files Browse the repository at this point in the history
Add support for fish shell
  • Loading branch information
pitluga committed Apr 13, 2015
2 parents 3ecea0b + f3e6820 commit 51d523a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ endfunction

function s:RunAllNoseTests()
let virtualenv = FindVirtualEnv()
call VimuxRunCommand("clear && " . virtualenv . "nosetests *.py")
call VimuxRunCommand("clear; " . virtualenv . "nosetests *.py")
endfunction

function s:RunCurrentNoseTests()
let virtualenv = FindVirtualEnv()
let file_name = @%
call VimuxRunCommand("clear && " . virtualenv . "nosetests " . file_name)
call VimuxRunCommand("clear; " . virtualenv . "nosetests " . file_name)
endfunction

function s:RunFocusedNoseTests()
let virtualenv = FindVirtualEnv()
let line_number = line('.')
let file_name = @%
call VimuxRunCommand("clear && " . virtualenv . "nosetests " . file_name . " --line " . line_number)
call VimuxRunCommand("clear; " . virtualenv . "nosetests " . file_name . " --line " . line_number)
endfunction

0 comments on commit 51d523a

Please sign in to comment.