Auto "cd" in Bash with silent output

https://www.youtube.com/watch?v=ojhaUNYetsU

source code

21 points · 6 comments · view on lemmy.world

6 Comments

PipedLinkBot@feddit.rocks · 11 pts · 3y (1 reply)

Here is an alternative Piped link(s): https://piped.video/watch?v=ojhaUNYetsU

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

Richardisaguy@lemmy.ml · 3 pts · 3y

Good bot

vampatori@feddit.uk · 2 pts · 3y (2 replies)

I did not know about the shopt command! Very interesting, thank you.

However, while your description refers to a GitHub Gist, there doesn't seem to be a link to it.

sebastiancarlos@lemmy.sdf.org · 1 pts · 3y (1 reply)

The link is on the body of this post.

vampatori@feddit.uk · 2 pts · 3y

Ahh! I didn't see that! Thanks.

mvirts@lemmy.world · 2 pts · 3y

Cool hack!

... autocd is a feature I thought was missing long ago... But I don't think I could bring myself to enable it now 😁