Remix.run Logo
teddyh 20 hours ago

Similarly, many people needlessly append a slash to every directory name.

SoftTalker 13 hours ago | parent | next [-]

Makes it clear you're naming a directory and not a file.

I also alias 'ls' to 'ls -F' so that directories have a / appended, makes it easier to understand the output.

chuckadams 14 hours ago | parent | prev | next [-]

It's handy when the directory might not exist, happens all the time in git checkouts. Raise your hand if you've ever moved something to tmp and created a file called tmp.

Usually it's tab-complete adding the slash though, I don't go typing it in.

BoredPositron 19 hours ago | parent | prev [-]

For me it's because of rsync.