this post was submitted on 22 Sep 2025
979 points (98.7% liked)

Programmer Humor

26747 readers
557 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] callyral@pawb.social 20 points 1 week ago (3 children)

not sure why the default behavior is this:

file\ name\ with\ a\ bunch\ of\ spaces

instead of this:

"file name with a bunch of spaces"

but you can just press " before pressing tab to auto-complete, and it will use the 2nd form

[โ€“] lord_ryvan@ttrpg.network 1 points 5 days ago* (last edited 5 days ago)

I mean, at least in Bash tools like ls do use quotes by default:

$ ls
 filename_without_space  'filename with space'

But yeah, tab expansion uses backslashes, sadly.

load more comments (2 replies)