Bug 478681 - Cannot autocomplete certain commands; "ls: cannot access 'tmp': No such file or directory"
Summary: Cannot autocomplete certain commands; "ls: cannot access 'tmp': No such file ...
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-18 13:08 UTC by anon
Modified: 2023-12-19 04:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
behaviour (16.32 KB, image/png)
2023-12-18 13:08 UTC, anon
Details
attachment-1820533-0.html (1.04 KB, text/html)
2023-12-18 14:02 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description anon 2023-12-18 13:08:24 UTC
Created attachment 164271 [details]
behaviour

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

STEPS TO REPRODUCE
1. Install KDE neon 5.27 x86_64 
2. ?
3. Type any listed command (below) and attempt to autocomplete

OBSERVED RESULT
When attempting to autocomplete commands such as
- unzip
- tar -xvf
- python3
- vim
i.e. typing [command] [space] [tab], the console will print "ls: cannot access 'tmp': No such file or directory"
instead of autocompleting.

EXPECTED RESULT
Autocomplete suggesting options, e.g. file path

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.27 x86_64 
(available in About System)
KDE Plasma Version: 5.27.10 

ADDITIONAL INFORMATION
Removing my bash.bashrc fixes the issue.
Re-enabling the default bash.bashrc also re-enables the issue.
A clean reinstall of bash-completion doesn't fix the issue.
Comment 1 tcanabrava 2023-12-18 14:02:22 UTC
Created attachment 164274 [details]
attachment-1820533-0.html

not a konsole bug. please check your fstab.

On Mon, Dec 18, 2023 at 2:08 PM anon <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=478681
>
> anon <mauritius-k@web.de> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |mauritius-k@web.de
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 fanzhuyifan 2023-12-19 04:58:55 UTC
Also tab completion is provided by the shell, e.g., bash, not konsole.