Gollum@feddit.de to Programmer Humor@programming.dev · 1 年前D or d come oni.imgur.comimagemessage-square223fedilinkarrow-up11.45Karrow-down149
arrow-up11.4Karrow-down1imageD or d come oni.imgur.comGollum@feddit.de to Programmer Humor@programming.dev · 1 年前message-square223fedilink
minus-squarezlatko@programming.devlinkfedilinkarrow-up3·1 年前Why not just cd $XDG_DOWNLOAD_DIR in the first place?
minus-squareunalivejoy@lemm.eelinkfedilinkEnglisharrow-up3·edit-21 年前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.
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.