gnome-terminal is sometimes not adding trailing slash when [Tab] used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
gnome-terminal (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-terminal
Steps to reproduce :
$ mkdir test && cd test
$ mkdir target
$ ln -s target backup
$ ls -l
lrwxrwxrwx 1 tomasz tomasz 6 2011-06-03 14:22 backup -> target/
drwxr-xr-x 2 tomasz tomasz 4096 2011-06-03 14:22 target/
Now try:
$ cd ta
$ cd ba
Pressing [Tab] expands "ta" to "target/", while "ba" is only expanded to "backup" (notice no trailing slash). Although it's consistent with ls output, it is a bit counterintuitive, as logically both "target" and "backup" are accessible directories.
What's even more interesting, pressing [Tab] again when "ba" is already expanded to "backup" will add the trailing slash ("backup/"). Also I noticed xterm behaves exactly the same, so the reason must be somewhere deeper.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gnome-terminal 2.32.1-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.38-9-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Fri Jun 3 14:17:01 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
ProcEnviron:
LANGUAGE=pl_PL:en
PATH=(custom, user)
LANG=pl_PL.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.