[IPython-User] Putting shellscripts at the path

Fernando Perez fperez.net@gmail....
Tue Dec 14 11:55:15 CST 2010


Hi Marcelo,

On Mon, Dec 13, 2010 at 5:05 PM, Marcelo Sena <marceloslacerda@gmail.com> wrote:
> I cannot access any shellscripts available in my path. Is that the
> standard behavior? Is there a workaround? Right now I am running bash
> and then the script I wish to run.

Mmh, it seems to work here, I made a simple script:

dreamweaver[~]> which myecho
/home/fperez/tmp/junk/bin//myecho
dreamweaver[~]> cat `which myecho`
#!/bin/bash

echo "My echo is here!"

and I can run it  no problem:

dreamweaver[~]> ip --no-banner

In [1]: !myecho
My echo is here!

In [2]:


This is on linux, and I tested both 0.10.x and trunk (0.11 series).
What platform and IPython version are you on?

Regards,

f


More information about the IPython-User mailing list