[IPython-user] ipython -p sh questions

Ville M. Vainio vivainio@gmail....
Sun Mar 9 09:07:01 CDT 2008


On Sun, Mar 9, 2008 at 3:49 PM, Ville M. Vainio <vivainio@gmail.com> wrote:

>  This has now been added to the sh profile (in bzr). That is, you can
>  use $LA in system and magic commands (and LA() in normal python code):

And now, specifying the command index also works:

[~]|13> echo foo bar
foo bar
[~]|14> echo hello world
hello world
[~]|15> echo $LA(13) $LA(14)
bar world

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list