bash - vi tab completion works only in some directories - Ask Ubuntu
i have moved ubuntu 14.04 16.04 (new installation). on 14.04 had no problems tab completion. on 16.04 have problems vi:
in directories (e.g. ~/ , /etc, /usr/src, /usr/src/mywork) type vi a
, hit tab
, can tab through files , directories starts a.
in other directories (/usr/src/mywork/work , subdirctories) doesn’t work: type vi a
(there file starts a) , hit tab
, can tab through directories starts a; no files displayed. can edit files if type full name of file.
the tab completion work fine in directories: example cat
, rm
; , more
. therefore think problem of vi. please, has idea? in advance
what did until now?
reinstall: aptitude reinstall bash-completion
change ownership: chown root:root *
(also in mother directories)
restored .bashrc: cp /etc/skel/.bashrc ~/.
my .vimrc is:
syntax on set t_co=256 colorscheme a-wombat if &diff colorscheme apprentice end
solution
this worng behaviour driven a file called !
in directory. if 1 removes file named !
everthing working fine. if 1 wants fix behaviour 1 has install latest git of bash-completion.
bugreport
valentas has reportet bug in ubuntu. thanks!
Comments
Post a Comment