summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-03-22 12:16:49 -0700
committerBen Sima <ben@bsima.me>2019-03-22 12:19:16 -0700
commit9ece05be716c92b451ff84952f389f1ca8d30abd (patch)
tree2583d02aa17c15d3ddfeb858eac93ebf9323c357 /common.nix
parent427948ea63bc17cf001e7770d9aa321c5696380d (diff)
Trying to fix xterm UTF8 encoding
This makes it slightly better but doesn't seem to totally fix it. Every time I open a terminal, I have to ctrl+right-click and select "UTF-8 Encoding". Not sure how to make this setting persistent.
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.nix b/common.nix
index b0af3b8..e872492 100644
--- a/common.nix
+++ b/common.nix
@@ -12,6 +12,7 @@ in
PATH = "${homedir}/bin:${homedir}/.cabal/bin:${homedir}/.local/bin:$PATH";
PAGER = "less";
LEDGER_FILE = "${homedir}/.hledger.journal";
+ XTERM_LOCALE = "en_US.UTF-8";
};
keyboard.options = [ "caps:ctrl_modifier" ];
file = {