cm0002@piefed.world to Programmer Humor@programming.devEnglish · 15 days agoI_fucking_hate_them_nowmedia.piefed.worldexternal-linkmessage-square115linkfedilinkarrow-up191arrow-down16
arrow-up185arrow-down1external-linkI_fucking_hate_them_nowmedia.piefed.worldcm0002@piefed.world to Programmer Humor@programming.devEnglish · 15 days agomessage-square115linkfedilink
minus-squarekilleronthecorner@lemmy.worldlinkfedilinkEnglisharrow-up1·14 days agoBecause quoting requires token expansion (e.g. ~ to /home/you). Escaping gives you a much shorter path in that case. That said I’m with you, full quoted paths read better to me.
minus-squareThe Ramen Dutchman@ttrpg.networklinkfedilinkEnglisharrow-up1·6 days agoYou can use variables in " like so: cd "$HOME/Desktop". Maybe this helps?
Because quoting requires token expansion (e.g. ~ to /home/you). Escaping gives you a much shorter path in that case.
That said I’m with you, full quoted paths read better to me.
You can use variables in
"
like so:cd "$HOME/Desktop"
.Maybe this helps?