aboutsummaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-12-12 08:47:40 +0100
committerKarel Kočí <cynerd@email.cz>2020-12-12 08:47:40 +0100
commit2de88d6cfac1bbd85ff67958bd35eb0d10ed29e4 (patch)
tree6996cd2932419516e4c0c2f33968e2eff0a5e4b7 /profile
parentd0fb34c0cf004de636cd70bcd7cbc4763508ea29 (diff)
downloadmyconfigs-2de88d6cfac1bbd85ff67958bd35eb0d10ed29e4.tar.gz
myconfigs-2de88d6cfac1bbd85ff67958bd35eb0d10ed29e4.tar.bz2
myconfigs-2de88d6cfac1bbd85ff67958bd35eb0d10ed29e4.zip
profile: set pycache to be in central location
Diffstat (limited to 'profile')
-rw-r--r--profile3
1 files changed, 3 insertions, 0 deletions
diff --git a/profile b/profile
index ee600c9..407d512 100644
--- a/profile
+++ b/profile
@@ -6,6 +6,9 @@ export EDITOR=vim
export CT_PREFIX_DIR='~/.local/${CT_TARGET}'
export CT_LOCAL_TARBALLS_DIR="~/src/ct-ng"
+# Python caching
+export PYTHONPYCACHEPREFIX="$HOME/.cache/pycache"
+
# Rest of the profile run only if login is from linux console
[[ "$(tty)" != /dev/tty* ]] && return