##// END OF EJS Templates
add %rep and %hist -g to %quickref
vivainio -
Show More
@@ -6,7 +6,7 b''
6 6 # the file COPYING, distributed as part of this software.
7 7 #*****************************************************************************
8 8
9 # $Id: usage.py 2152 2007-03-18 20:13:35Z fperez $
9 # $Id: usage.py 2683 2007-08-28 20:01:15Z vivainio $
10 10
11 11 from IPython import Release
12 12 __author__ = '%s <%s>' % Release.authors['Fernando']
@@ -618,17 +618,18 b' cp a.txt b/ : after %rehashx, most system commands work without !'
618 618 cp ${f}.txt $bar : Variable expansion in magics and system commands
619 619 files = !ls /usr : Capture sytem command output
620 620 files.s, files.l, files.n: "a b c", ['a','b','c'], 'a\nb\nc'
621 cd /usr/share : Obvious, also 'cd d:\home\_ipython' works
621 cd /usr/share : Obvious. cd -<tab> to choose from visited dirs.
622 622
623 623 History:
624 624
625 625 _i, _ii, _iii : Previous, next previous, next next previous input
626 626 _i4, _ih[2:5] : Input history line 4, lines 2-4
627 627 exec _i81 : Execute input history line #81 again
628 %rep 81 : Edit input history line #81
628 629 _, __, ___ : previous, next previous, next next previous output
629 630 _dh : Directory history
630 631 _oh : Output history
631 %hist : Command history
632 %hist : Command history. '-g foo' search history for 'foo'
632 633
633 634 Autocall:
634 635
General Comments 0
You need to be logged in to leave comments. Login now