What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

๐Ÿง  *TIL:* you can ignore the case-sensitive in your auto completion _terminal files/folders_ if

Chemaclass
Chemaclass Tech Lead Spryker Solution Partner Posts: 213 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

๐Ÿง  TIL: you can ignore the case-sensitive in your auto completion terminal files/folders if you add this in your ~/.inputrc

set completion-ignore-case On

Comments

  • U01A5ARAXP0
    U01A5ARAXP0 Posts: 119 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    so the idea is if you have a folder called Data and you write da (lowercase) in the terminal, hitting tab will autocomplete Data? And what happens in ambiguous cases? It gives both options or fallbacks to the corresponding case match?

  • Chemaclass
    Chemaclass Tech Lead Spryker Solution Partner Posts: 213 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Yes, @U01A5ARAXP0, cd da will autocomplete to cd Data/.
    If itโ€™s ambiguous, then you will see all posible options below (as default behaviour).

  • U01A5ARAXP0
    U01A5ARAXP0 Posts: 119 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    thanks for sharing... but now seeing the video I got a little disappointed... you have Data, but the autocomplete will do data... and even the pwd shows the lowercase version, was not expecting that...

  • Chemaclass
    Chemaclass Tech Lead Spryker Solution Partner Posts: 213 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Right, me neitherโ€ฆ thatโ€™s a ๐Ÿ‘Ž๐Ÿผ for this featureโ€ฆ but overall I like the idea. I will use it for a while ๐Ÿ™‚

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    it works also for zshrc?

  • Chemaclass
    Chemaclass Tech Lead Spryker Solution Partner Posts: 213 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet
    edited January 2023

    Yes, I use https://ohmyz.sh/. Btw, if you want more context/info, check this out https://askubuntu.com/a/87066 (I use macos, so this applies for all *nix systems)