diff options
author | Soispha <soispha@vhack.eu> | 2023-08-26 23:42:21 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-26 23:42:21 +0200 |
commit | 3f600ab07dbad3b6dd7655587ddea158b19aea71 (patch) | |
tree | 7164ccd965e1d14ade970aeb8eb188b1442a6c91 /home-manager/soispha/config/python | |
parent | Style(treewide): Format all lua-files makes lua ➛ nix easier (diff) | |
download | nixos-config-3f600ab07dbad3b6dd7655587ddea158b19aea71.zip |
Refactor(treewide): Abbreviate path names
Diffstat (limited to 'home-manager/soispha/config/python')
-rw-r--r-- | home-manager/soispha/config/python/default.nix | 7 | ||||
-rw-r--r-- | home-manager/soispha/config/python/pythonrc | 11 |
2 files changed, 0 insertions, 18 deletions
diff --git a/home-manager/soispha/config/python/default.nix b/home-manager/soispha/config/python/default.nix deleted file mode 100644 index eeaccdcf..00000000 --- a/home-manager/soispha/config/python/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ - config, - pkgs, - ... -}: { - xdg.configFile."python/pythonrc".source = ./pythonrc; -} diff --git a/home-manager/soispha/config/python/pythonrc b/home-manager/soispha/config/python/pythonrc deleted file mode 100644 index 38c48e0f..00000000 --- a/home-manager/soispha/config/python/pythonrc +++ /dev/null @@ -1,11 +0,0 @@ -import os -import atexit -import readline - -history = os.path.join(os.environ['XDG_CACHE_HOME'], 'python_history') -readline.read_history_file(history) - -def write_history(): - readline.write_history_file(history) - -atexit.register(write_history) |