You are not logged in.

#1 2011-09-24 21:12:03

archnet
Member
Registered: 2011-05-09
Posts: 42

Tab completion (complete-list) and pdksh

There are (basically) two ways to get tab completion with pdksh. One is to use vi mode and 'set -o vi-tabcomplete'. The other is to 'bind ^I=complete-list'. They both do the same thing (the latter allows tab completion in emacs mode). But they both have the same issue -- they prepend a number before every entry. For example

$ l
  1) /usr/bin/lacheck
  2) /usr/bin/lame   
  3) /usr/bin/last     
  4) /usr/bin/lastb
  ...


I don't want that. I just want the name -- like:

$ l
  lacheck
  lame   
  last     
  lastb
  ...


This is how pdksh defaults to work on NetBSD. Is there a setting or option I'm missing to make this work in the manner I described?

Offline

Board footer

Powered by FluxBB