diff --git a/sh/.config/sh/xdg b/sh/.config/sh/xdg index 8738649..4d645e1 100644 --- a/sh/.config/sh/xdg +++ b/sh/.config/sh/xdg @@ -84,6 +84,10 @@ export LESSHISTFILE="XDG_STATE_HOME/lesshst" export MPLAYER_HOME="$XDG_CONFIG_HOME/mplayer" export NODE_REPL_HISTORY="$XDG_STATE_HOME/node_repl_history" export NVM_DIR="$XDG_DATA_HOME/nvm" +if [ ! -e "$PYTHONSTARTUP" ]; then + mkdir -p "$XDG_CONFIG_HOME/python" + touch "$PYTHONSTARTUP" +fi export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc" export SQLITE_HISTORY="$XDG_STATE_HOME/sqlite_history" export TEXMFVAR="$XDG_CACHE_HOME/texlive/texmf-var"