Skip to content

[Bug]: Super CD Directory Creation Highlights Not Always Correct #1

@ChristianSilvermoon

Description

@ChristianSilvermoon

Shell Name & Version

bash 5.1.16(1)-release

System Architecture

Linux 5.15.0-53-generic x86_64

Platform

Linux Mint 21 (Vanessa)

Shell Options

autocd
checkwinsize
cmdhist
complete_fullquote
expand_aliases
extglob
extquote
force_fignore
globasciiranges
histappend
interactive_comments
progcomp
promptvars
sourcepath

What went wrong?

Sometimes, when one directory already exists, but subdirectories do not, Super CD will incorrectly color code existing directories as if they did not exist.

This is purely cosmetic, but unfortunately misleading.

What SHOULD have happened?

Super CD is supposed to color code directories that exist vs directories that don't when navigating to non-existent file paths.

When prompting, it should highlight existing directories in green and non-existing directories in red.

The final navigation message should show existing directories plainly, and newly created directories in light blue.

Be sure to check all that apply

  • I have searched through the Open Issues and I'm pretty sure mine isn't a duplicate
  • My version of MSRC and Enabled Default Extras are up to date with the Master Branch
  • My Issue is related to one of MSRC's Default Extra Configs (and I've specified which one above)
  • My issue actually affects multiple different platforms!
  • My issue is severe (Data Loss, etc.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions