Bug 478681

Summary: Cannot autocomplete certain commands; "ls: cannot access 'tmp': No such file or directory"
Product: [Applications] konsole Reporter: anon <mauritius-k>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: fanzhuyifan, mauritius-k
Priority: NOR    
Version: 23.08.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: behaviour
attachment-1820533-0.html

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.