summaryrefslogtreecommitdiffstats
path: root/vimpager
diff options
context:
space:
mode:
Diffstat (limited to 'vimpager')
-rwxr-xr-xvimpager2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimpager b/vimpager
index edaa5db..1388742 100755
--- a/vimpager
+++ b/vimpager
@@ -58,7 +58,7 @@ if do_ps | grep -q '\(py\(thon\|doc\)\|man\|perl\(doc\)\?\([0-9.]*\)\?\)\>'; the
proc=$$
while next_parent=`ppid $proc` && [ $next_parent != 1 ]; do
if pproc $next_parent | grep -q 'man\>'; then
- cat $file | sed -e 's/\[[^m]*m//g; s/.//g' | less_vim -c 'set ft=man' -; exit
+ cat $file | sed -e 's/\[[^m]*m//g; s/.//g' | less_vim -c 'set ft=man' -c "set nonumber" -; exit
elif pproc $next_parent | grep -q 'py\(thon\|doc\)\>'; then
cat $file | sed -e 's/\[[^m]*m//g; s/.//g' | less_vim -c 'set ft=man' -; exit
elif pproc $next_parent | grep -q 'perl\(doc\)\?\([0-9.]*\)\?\>'; then