##// END OF EJS Templates
add %rep and %hist -g to %quickref
vivainio -
Show More
@@ -6,7 +6,7 b''
6 # the file COPYING, distributed as part of this software.
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 from IPython import Release
11 from IPython import Release
12 __author__ = '%s <%s>' % Release.authors['Fernando']
12 __author__ = '%s <%s>' % Release.authors['Fernando']
@@ -618,17 +618,18 b' cp a.txt b/ : after %rehashx, most system commands work without !'
618 cp ${f}.txt $bar : Variable expansion in magics and system commands
618 cp ${f}.txt $bar : Variable expansion in magics and system commands
619 files = !ls /usr : Capture sytem command output
619 files = !ls /usr : Capture sytem command output
620 files.s, files.l, files.n: "a b c", ['a','b','c'], 'a\nb\nc'
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 History:
623 History:
624
624
625 _i, _ii, _iii : Previous, next previous, next next previous input
625 _i, _ii, _iii : Previous, next previous, next next previous input
626 _i4, _ih[2:5] : Input history line 4, lines 2-4
626 _i4, _ih[2:5] : Input history line 4, lines 2-4
627 exec _i81 : Execute input history line #81 again
627 exec _i81 : Execute input history line #81 again
628 %rep 81 : Edit input history line #81
628 _, __, ___ : previous, next previous, next next previous output
629 _, __, ___ : previous, next previous, next next previous output
629 _dh : Directory history
630 _dh : Directory history
630 _oh : Output history
631 _oh : Output history
631 %hist : Command history
632 %hist : Command history. '-g foo' search history for 'foo'
632
633
633 Autocall:
634 Autocall:
634
635
General Comments 0
You need to be logged in to leave comments. Login now