From 8c92bc399732c02721ed5432815b95c818e1b90b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 16 Apr 2020 21:30:51 -0700 Subject: Add python startup files --- lib/common.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/common.nix') diff --git a/lib/common.nix b/lib/common.nix index 24e53e0..99cdbd8 100644 --- a/lib/common.nix +++ b/lib/common.nix @@ -18,6 +18,7 @@ in LEDGER_FILE = "${homedir}/.hledger.journal"; XTERM_LOCALE = locale; LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; + PYTHONSTARTUP = "${homedir}/.pythonrc"; }; # From the command line: @@ -33,6 +34,14 @@ in source = ./hledger.journal; target = ".hledger.journal"; }; + pythonrc = { + source = ./pythonrc; + target = ".pythonrc"; + }; + pdbrc = { + source = ./pythonrc; + target = ".pdbrc"; + }; }; }; -- cgit v1.2.3