Bug ID | 907352 |
---|---|
Summary | Bash tab completion does not escape paths (broken in 13.2) |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | 13.2 |
Hardware | Other |
OS | openSUSE 13.2 |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | bnc-team-screening@forge.provo.novell.com |
Reporter | szotsaki@gmail.com |
QA Contact | qa-bugs@suse.de |
Found By | --- |
Blocker | --- |
After upgrading from 13.1 to 13.2 I noticed that Bash <TAB> completion doesn't work as before. Let's say I would like to create a file "Test filename.txt" in directory "~/temp/test/" and open it first in vi then in mpv (an mplayer2 alternative video player). Naturally, I also would like to use <TAB> in bash. The following commands I issue. [ ] denotes space - cd - md te<TAB> --> md temp[ ] - backspace, slash, "test", Return - cd te<TAB> --> cd temp/<TAB> --> cd temp/test/ - touch "Test filename.txt" - vi Te<TAB> --> vi Test\ filename.txt - mpv Te<TAB> --> mpv Test filename.txt The bug is that Bash sometimes escapes files and sometimes not. I think it's based on the command but since it's impossible to list all the executables in the Linux world, I would say it's a really annoying behaviour. As you can see it doesn't work well for the built-in alias md (make dir). - When I create a directory (md) I have to clear back but when I change into it, I don't. - When I open a file with vi, I don't have to escape the path but when I open it with an other program, I have to.