summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2024-01-05 21:17:22 -0500
committerBen Sima <ben@bsima.me>2024-01-05 21:18:13 -0500
commit021c3f0c7e2428f8b34590e3c05307fd5694d7ba (patch)
tree9f602d64b35de19996eb815014105745e9bc430f
parent7586a48f5df5ef6c8ddbc7c98a56e9af378841cf (diff)
updatesHEADmaster
-rw-r--r--lib/pythonrc7
-rw-r--r--profiles/workshop.nix2
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/pythonrc b/lib/pythonrc
index ec59d2b..89408a7 100644
--- a/lib/pythonrc
+++ b/lib/pythonrc
@@ -1,8 +1,10 @@
import os
import pdb
import pprint
-import rlcompleter, readline
+import rlcompleter
+import readline
import sys
+import importlib
# enable tab completion
readline.parse_and_bind("tab: complete")
@@ -13,3 +15,6 @@ pdb.Pdb.complete = rlcompleter.Completer(locals()).complete
# prettyprint with p()
pp = pprint.PrettyPrinter(indent=4, width=80)
p = pp.pprint
+
+# reload a module with r(module)
+r = importlib.reload
diff --git a/profiles/workshop.nix b/profiles/workshop.nix
index a070c66..003630d 100644
--- a/profiles/workshop.nix
+++ b/profiles/workshop.nix
@@ -22,7 +22,7 @@
services.random-background.enable = lib.mkForce true;
- programs.git.signing.signByDefault = true;
+ programs.git.signing.signByDefault = lib.mkForce false;
systemd.user.services = {
"shop-music".Service = {