From 82636ae45f085c48fc0a98040f304479cf8d6122 Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Mon, 8 Apr 2024 11:39:48 -0500 Subject: [PATCH] update python installation configuration some changes: - move pythonrc to be copied to ~/.config/python/pythonrc*.py*, instead of ~/.config/python/pythonrc.py - remove spurious print statement from pythonrc.py --- .config/python/pythonrc.py | 2 -- home/python/default.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/python/pythonrc.py b/.config/python/pythonrc.py index dd41f36..71743f1 100644 --- a/.config/python/pythonrc.py +++ b/.config/python/pythonrc.py @@ -14,6 +14,4 @@ def write_history(): except OSError: pass -print("laskdjflaskfjd") - atexit.register(write_history) diff --git a/home/python/default.nix b/home/python/default.nix index 9615067..1b5b6a1 100644 --- a/home/python/default.nix +++ b/home/python/default.nix @@ -2,7 +2,7 @@ { home.file = { - ".config/python/pythonrc" = { + ".config/python/pythonrc.py" = { source = ../../.config/python/pythonrc.py; }; };