itermocil icon indicating copy to clipboard operation
itermocil copied to clipboard

Loading virtual env with pre

Open topless opened this issue 5 years ago • 1 comments

Hey there, great stuff in first place.

I am using zsh as my default shell and I am trying to configure the pre command to work with my virtualenv wrapper, pre: workon my_project. I get an execution error, that the command was not found but its trying to execute it in the sh environment.

34:63: execution error: iTerm got an error: sh: workon: command not found (127)

Currently I am loading my virtual env with the iterm profile, send as text at start, but I would very much like to automate it since I am using several of them.

Any insights would be great, or guidance so I can contribute back!

Cheers,

topless avatar Sep 09 '19 12:09 topless

I have the same problem with chruby. I use that to set the ruby version. pre: chruby 2.3.1 gives me the same error.

34:65: execution error: „iTerm“ hat einen Fehler erhalten: sh: chruby: command not found (127)

caplod avatar Oct 01 '19 08:10 caplod