• zlatko
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Why not just cd $XDG_DOWNLOAD_DIR in the first place?

    • unalivejoy@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      1 year ago

      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.