diff options
| author | Ivan K. Boikov <mail@ikboikov.net> | 2025-04-20 17:11:15 +0200 |
|---|---|---|
| committer | Ivan K. Boikov <mail@ikboikov.net> | 2025-04-20 17:11:15 +0200 |
| commit | 2d456b6a24d5e2443537db72e35f7041b5a94604 (patch) | |
| tree | 371d0ad5c994fb257db3ff4ca0c409f5791dba28 /shell | |
| parent | bb2b9dd7c52d7d10b71a95c195896b40b77e04e5 (diff) | |
profile: dynamic PYTHONPATH vapoursynth hack
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/.config/shell/profile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/.config/shell/profile b/shell/.config/shell/profile index 68ed341..af62740 100644 --- a/shell/.config/shell/profile +++ b/shell/.config/shell/profile @@ -171,8 +171,8 @@ export FZF_DEFAULT_OPTS="--layout=reverse --height 100%" export _JAVA_AWT_WM_NONREPARENTING=1 # fixing SVP won't picking up vapoursynth library -# TODO change 3.9 to whatever may be later -export PYTHONPATH=/usr/local/lib/python3.9/site-packages +PYTHONVER="$(python --version | cut -d' ' -f 2 | cut -d'.' -f1-2)" +export PYTHONPATH="/usr/lib/python$PYTHONVER" # possibly Android stuff? why can't they honor XDG?? if [ -d "$HOME/platform-tools" ] ; then |
