-
-
Save flaviusb/289d10a27cebb4c9dc4480e06aab6155 to your computer and use it in GitHub Desktop.
Change Ubuntu cache directory on remove server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export XDG_CACHE_HOME="/data/${USER}/.cache" | |
export PIP_CACHE_DIR="/data/${USER}/.cache" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original credit to @changx03 - I just modified it slightly to make it a drop in
.profile
.