jsvn: add pager exceptions for commit/propedit abbreviations - thanks Mike
This commit is contained in:
parent
9daaada1aa
commit
a45111b909
3
jsvn
3
jsvn
@ -472,7 +472,8 @@ def main(argv):
|
||||
using_pager = False
|
||||
using_color = sys.stdout.isatty()
|
||||
if sys.stdout.isatty():
|
||||
if not (len(argv) >= 1 and argv[0] in ('commit', 'propedit')):
|
||||
if not (len(argv) >= 1 and argv[0] in
|
||||
('commit', 'ci', 'propedit', 'pedit', 'pe')):
|
||||
pager = 'less -FRX'
|
||||
if 'PAGER' in os.environ and os.environ['PAGER'] != '':
|
||||
pager = os.environ['PAGER']
|
||||
|
Loading…
x
Reference in New Issue
Block a user