commit 42e9aa082a08b09ae0bb36d9cdfc99f6b40e1ad8 parent d2a040cdacfc825954a772e8a4176890539848f9 Author: Alex Balgavy <alex@balgavy.eu> Date: Tue, 1 Dec 2020 13:27:31 +0100 set-theme: fix error after update Changed the path for python used for iterm2. Also made sure PYTHONPATH is cleared. Former-commit-id: f02f48247c36f08126e0cbe606e6ba37b0ad368f Diffstat:
M | scripts/set-theme | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/scripts/set-theme b/scripts/set-theme @@ -18,9 +18,8 @@ EOF } set_iterm2() { - ITERM2_COOKIE=$(osascript -e 'tell application "iTerm2" to request cookie') ~/Library/ApplicationSupport/iTerm2/iterm2env/versions/3.7.5/bin/python3 \ + PYTHONPATH='' ITERM2_COOKIE=$(osascript -e 'tell application "iTerm2" to request cookie') ~/Library/ApplicationSupport/iTerm2/iterm2env/versions/3.8.6/bin/python3 \ - "$1" <<EOF -#!/usr/bin/env python3 import iterm2 from sys import argv async def main(connection):