Gollum@feddit.de to Programmer Humor@programming.dev · 1 year agoD or d come oni.imgur.comimagemessage-square20fedilinkarrow-up17arrow-down10
arrow-up17arrow-down1imageD or d come oni.imgur.comGollum@feddit.de to Programmer Humor@programming.dev · 1 year agomessage-square20fedilink
minus-squarezlatko@programming.devlinkfedilinkarrow-up1·1 year agoWhy not just cd $XDG_DOWNLOAD_DIR in the first place?
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up1·edit-21 year agoThat’s not an environment variable. It’s defined in ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs. Though you can use the xdg-user-dir DOWNLOAD command to get it automatically.
Why not just
cd $XDG_DOWNLOAD_DIR
in the first place?That’s not an environment variable. It’s defined in
${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs
.Though you can use the
xdg-user-dir DOWNLOAD
command to get it automatically.